On 19 July 2020 at 20:47, Mario Annau wrote: | Am So., 19. Juli 2020 um 20:11 Uhr schrieb Hugh Parsonage < | hugh.parson...@gmail.com>: | > 3. Keep an R session running in perpetuity and source the scripts within | > that everlasting session | However, 3. sounds interesting - how would this work in a Linux environment?
You had Rserve by Simon for close to 20 years. There isn't much in terms of fancy docs but it has been widely used. In essence, R runs "headless" and connect to it (think "telnet" or "ssh", but programmatically), fire off request and get results with zero startup latency. But more work to build the access layer. And Rserve is also underneath RestRserve which allows you to query a running server vai REST / modern web stack tech. (Think "plumber", but in C++ and faster / more scaleable). Lastly, there is Jeroen's OpenCPU. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel