I'm using Rscript to run a plot as follows:
x=1:10
y=1:10
plot(x,y)
I expect this code to popup a window with a graphic showing the plot when I run the code like this:
Rscript plot.R
The program finishes to completion, and the graphic does not appear, not even momentarily. I know this code is right because it does produce a plot in the Rstudio GUI.
Does Rscript have a feature to popup that plot automatically on execution?
See Question&Answers more detail:os