Re: [R] [FORGED] Re: Executing an R script and show the plots.

2020-02-02 Thread Felix Blind
Thanks all for your solutions. I like the setup best where I startup an xserver connection and then halting the script with readlines. I want to write and run small scripts and that seems to me the nearest to a leightweight solution to the problem in R. Kind regards, Felix On 1/30/20 7:15 AM, Ab

Re: [R] [FORGED] Re: Executing an R script and show the plots.

2020-01-28 Thread Felix Blind
Thanks Abby, I am using Linux and device X11 worked for me in the past. I will check your script later and tell you if it works. On 1/28/20 1:27 AM, Abby Spurdle wrote: > Here's a solution for Windows, for use with graphics::plot. > Using, Linux and grid or ggplot2, may require some modification.

Re: [R] [FORGED] Re: Executing an R script and show the plots.

2020-01-27 Thread Felix Blind
ThanksĀ  a lot you guys, you all were right; I used most of your suggestions as part of the solution. It is a considerable effort to get persistent plots when running an R script. The problem is even when I open an interface with X11() it closes immediately afterwards, when the script is done execu

[R] Executing an R script and show the plots.

2020-01-26 Thread Felix Blind
Dear R users, i am a python user trying to get my statistical knowledge up to speed and R is the language for that. I would like to run R scripts like that: R -f script.r and still get the plots that pop up. When I type the following code in the R REPL I get a nice plot: library(ggplot2)