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] How to parallelize a process called by a socket connection

2020-02-02 Thread Ivan Krylov
On Sat, 1 Feb 2020 11:24:51 -0800 James Spottiswoode wrote: > while(TRUE){ > con <- socketConnection(host="localhost", port = > server_port, blocking=TRUE, server=TRUE, open="r+", timeout = > 1) > data <- readLines(con, 1L, skipNul = T, ok = T) > response <- check(data