[R] R as server application

Scionforbai scionforbai at gmail.com
Wed Nov 21 14:19:16 CET 2007


Do you need something more than a simple ssh connection to a remote
host in which you run R (trivial when the server is Linux)?

My advice is to run R in a "screen" session on the remote host (it
protects from sudden disconnections). Then you have a window on your
screen with the R command line, which you can copy/paste your scripts
to (from whichever editor you want) as if it was running locally. Of
course, on-screen graphics works (if you forward X... if you see what
I mean) but it depends on connection speed (in LAN no problem, through
internet it can be a pain, I usually don't use it then) and you need
an X server running locally (if the 'client' is windows, cygwin highly
recommended).

A real R 'server' could be very useful though.



More information about the R-help mailing list