December 2017
Beginner to intermediate
470 pages
12h 29m
English
Images can enhance the appearance of your application and help your users understand the content. Shiny looks for the img() function to place image files in your application. To insert an image, simply call with the src specifying the images location. You can also include other HTML friendly parameters such as height and width (they will be passed as pixel values):
img(src = "image.png", height = 250, width = 250)
The image.png file must be in a folder named www in the same directory as the app.R script. Shiny will share any file placed here with your user's web browser, which makes www a great place to put images, style sheets, and other things the browser will need to build the wap components of your Shiny application. ...