Shiny App that include HTML files doesnt render images when is running in command

Why does running a shiny app in r studio show all the images that are added by html but not when running it in the batch?

For example, I have this simple app that calls an html file that contains 2 images, in r studio the app looks perfectly but when run from the batch it doesn't work.

It doesn't show any kind of error or warning just like it doesn't recognize the image.


How can it be corrected?



ui <- tagList(

server <- function(input, output, session) {

shinyApp(ui, server)


<!DOCTYPE html>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <h3>Hello world!!</h3>
    <img src="img1.jpg"/>
    <img src="img2.jpg"/>

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.