I'm making a dynamic plot in R with ggplotly but I don't want it to be displayed in html file nor do I want to program it in RMarkdown. Is this possible?
Related
I recently started to use Rmarkdown for generating my official documents. My documents need barplots as well as tables. I am accessing my tables through R code and generating Barplot out of these tables. But when I start to knit my document, it is halted due to barplot in it. When I remove the whole code for barplot and knit, the document is easily generated.
How can I solve this problem because I need these barplots in my document?
ggplot2 is able to export plots in vector formats like SVG. Plots rendered in Shiny with plotOutput() are rendered in PNG format. Is it possible to render Shiny plots in SVG format?
It is possible to output ggplots in a Shiny app as vectors thanks to the package ggiraph, by David Gohel. The package also supports basic interactivity to ggplot2 plots, like tooltips, highlighting, and more.
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.
I have some code that generates a plotly image in R. Previously I included this plot in a presentation using Rstudio/ioslides. The people I am collaborating with want a version in powerpoint. I am trying to use the ReporterRs package in order to create an re-producible shell powerpoint presentation with all of my plots. However ReporterRs only accepts lattice, ggplot2, and base images. Since there is a way to convert ggplot2 objects to plotly images I was hoping there was a way to go backwards. However I am stuck. I have been unable to "downgrade" my plotly plots to ggplot2. Does anyone know if there is a way to do this?
(I know I can just copy and paste them over but I would like to develop a workflow where I can create easily reproducible and replaceable plots so that I don't have to do very much work if I change the data)
I am new to R programming. I have developed a shiny dashboard application for different visualization purposes where I am plotting various graphs with the help of renderDataTable, renderPlot, renderRpivotTable, renderImage renderInfoBox.
But I am unable to figure out what is the best way to download these graphs/charts/table/infobox in PDF format.
So for I am rendering Rmarkdown within downloadHandler to achieve this requirement. But It is not working for every plot such renderInfoBox,renderDataTable. I will highly appreciate any inputs on this.