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
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
2 matches
Mail list logo