Render plot download plot in shiny app






















Plots and images in Shiny support mouse-based interaction, via clicking, double-clicking, hovering, and brushing. For plotOutput , the coordinates will be sent scaled to the data space, if possible. At the moment, plots generated by base graphics and ggplot2 support this scaling, although plots generated by lattice and others do not. If scaling is not possible, the raw pixel coordinates will be sent.

For imageOutput , the coordinates will be sent in raw pixel coordinates. With ggplot2 graphics, the code in renderPlot should return a ggplot object; if instead the code prints the ggplot2 object with something like print p , then the coordinates for interactive graphics will not be properly scaled to the data space. For the corresponding server-side functions, see renderPlot and renderImage.

Using custom CSS in your app. Build custom input objects. Build custom output objects. Add Google Analytics to a Shiny app. Packaging JavaScript code for Shiny. Communicating with Shiny via JavaScript. Debugging Shiny applications. Write error messages for your UI with validate. Shiny testing overview. Server function testing with Shiny.

Modularizing Shiny app code. Communication between modules. Shiny App Usage Tracking. Performance and scalability. Using caching in Shiny to maximize performance. Improving scalability with async programming. Scaling and Performance Tuning with shinyapps. Deploying Shiny apps to the web.

Getting started with shinyapps. Authentication and authorization model for shinyapps. Setting up custom domains on shinyapps. Sharing data across sessions on shinyapps. Migrating authentication on shinyapps. Are you trying to stack the two plots or something? Due to to the patchwork library, that is a valid combinations of plots. The app runs, but I cannot save the plot — larry Add a comment. Active Oldest Votes. Improve this answer. Believe me, at least for me this is very OK!

Thanks everyone for taking their time to help me out. This helps others coming to this.! Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.



0コメント

  • 1000 / 1000