I tried this code in a Rscript and it works
When used in a Rmd chunk, it does not and returns No plot to insert.NULL although the plot is shown below the chunk block after the print(p0) command (the plot is not added to the plot pane which is I think the reason for the fail)
Hi,
I tried this code in a Rscript and it works When used in a Rmd chunk, it does not and returns No plot to insert.NULL although the plot is shown below the chunk block after the print(p0) command (the plot is not added to the plot pane which is I think the reason for the fail)
Can I make this to work in RStudio in a Rmd file?
Thanks