Hi Good Morning
I have a shiny app that creates dynamically ggplots (scatterplots) and assign it to dynamically created names eg plot1, plot2, plot3 and so on
when i bring it to dashboard, i use grid.arrange. my concern is some times 10 plots and some times 8. but in grid.arrange function i have to specify the list of plots. I tried to create the list for the grid.arrange function. but I dont get it as given below. it all comes with quotes that the function does not accept.
i would like to create dynamically a list of object names that i have created for plots and mention the list name inside grid.arrange function. could someone help me out please
Thank you very much
That being said, if you really want to transform strings into code, you can use str2expression() and then eval(). I repeat here it's probably better not to do that if you can instead use a list which is meant for that exact purpose.