Plotting in R shiny

how to send data from rendertable() to rederplot() ?

Hi @punitha, if you're using, or can use, htmlwidgets (http://htmlwidgets.org/) in your app, then crosstalk would be the way I would do that: https://rstudio.github.io/crosstalk/index.html

1 Like

What are you trying to achieve? Do you want to have the same data displayed in both a table and a plot? You might be better off creating a common data object that is then accessed by both the table inside renderTable() and the plot inside renderPlot().

2 Likes