0

I have a lot of plots saved in a folder and their format is *.html so they could be easily viewed in a browser. Plots were made using plotly in R. I want to build a Shiny app to view these saved files. Does anyone know how to read and view these files into Shiny? I know the other alternative is to plot on demand in Shiny, but due to the large number of data points and time to generate plots, I want to use the saved files. I appreciate your help.

Phil sh
  • 41
  • 2
  • `?includeHTML()` try https://stackoverflow.com/questions/24875943/display-html-file-in-shiny-app – spinodal Apr 23 '18 at 22:05
  • Thanks, it works. I tried to use it before, but I was passing it through a plot and it wasn't working. – Phil sh Apr 23 '18 at 22:23
  • 1
    Possible duplicate of [Display HTML file in Shiny App](https://stackoverflow.com/questions/24875943/display-html-file-in-shiny-app) – Alex Dometrius Apr 24 '18 at 02:41
  • Also have you tried saving your plots just as images, like `png` perhaps? Not really much different, but the result may be cleaner. – Brian Stamper Apr 24 '18 at 14:27

0 Answers0