[Rd] Speed-up/Cache loadNamespace()
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Sun Jul 19 22:09:24 CEST 2020
On 19 July 2020 at 20:47, Mario Annau wrote:
| Am So., 19. Juli 2020 um 20:11 Uhr schrieb Hugh Parsonage <
| hugh.parsonage using 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 | edd using debian.org
More information about the R-devel
mailing list