[Rd] Speed-up/Cache loadNamespace()

Tobias Verbeke tob|@@@verbeke @end|ng |rom open@n@|yt|c@@eu
Sun Jul 19 22:38:35 CEST 2020


----- Original Message -----
> From: "Dirk Eddelbuettel" <edd using debian.org>
> To: "Mario Annau" <mario.annau using gmail.com>
> Cc: "r-devel using r-project.org" <r-devel using r-project.org>
> Sent: Sunday, July 19, 2020 10:09:24 PM
> Subject: Re: [Rd] Speed-up/Cache loadNamespace()

> 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.

Or... lastly, the R Service Bus which has been used in production since 2010 and got a maintenance release (6.4.0) last week:

https://rservicebus.io/

For REST (both asynchronous and synchronous APIs are available), you can start here: https://rservicebus.io/api/introduction/

Best,
Tobias



More information about the R-devel mailing list