verbatimTextOutput & can not open 'Rplots.pdf' error


I'am using verbatimTextOutput & renderText with capture.output to show the output of R example programs. However, when my example program contains a plot command then the above error appears if running on the shiny server, but in RStudio (locally) it works. Any idea how I can avoid that?

Thanks sigbert

Found a solution myself by

I wrapped the code between



1 Like