RServe installation and example?

Installation Forum (Inactive)
RServe installation and example? pshannon  2014-03-30 17:57
Status: Closed
 
Is guidance or documentation (tutorial, demo, ...) available for using the experimental LabKey RServe module?

Thanks!

 - Paul Shannon
 
 
kevink responded:  2014-03-31 13:06
Hi Paul,

Unfortunately, we don't have documentation on configuring and using RServe with LabKey yet. There isn't too much configuration required:

1) From the admin console, click on the "experimental features" link and enable the RServe experimental feature.

2) From the admin console, click on the "views and scripting" link and add/edit the R engine configuration to include the hostname, port, remote report temp directory, remote pipeline directory, and the remote user and password if needed. I encourage using an RServe user and password as described here:

http://www.rforge.net/Rserve/doc.html#conf

Once configured, R reports executed by LabKey will be executed on the remote RServe machine by first writing a .r script file into the report temp directory then telling RServe to eval the script. R should probably have the Rlabkey package installed to make http requests back to the LabKey server, but I don't think it is a requirement.

Unfortunately at this time, LabKey server can't be configured to use both a local R and a remote RServe server. All R scripts will be executed by RServe if it is enabled.
 
avital responded:  2014-04-01 22:56
Hi Paul,

We have been working on a more formal documentation of setting up Rserve with LabKey. As this is an experimental feature, the docs might require some more polishing, but you are welcomed to use them:

https://www.labkey.org/wiki/home/LabKey%20Server%20Documentation/page.view?name=LabKeyRserve

Any feedback is welcomed!

Please let us know if you have any additional questions.

Thank you,
Avital