Skip to content
Prev 314452 / 398503 Next

R and SSH / exchange R objects between client and server

On 01/01/2013 20:39, Duncan Murdoch wrote:
You could use package 'parallel' to run workers on the 'remote PC'. 
There are also packages like Rserve (http://www.rforge.net/Rserve/, and 
also RSclient).
Yes, but e.g. parallel does have wrappers.
The 'R gui'?  You mean R.app on OS X?  That's just like any other R 
console, so you can via parallel or RSclient.

A lot of the messy details are already taken care of via package 
parallel, so that is where I would start.  Simple use makeCluster to set 
up a cluster of size 1 on the remote machine, clusterExport to transfer 
and clusterCall to submit tasks.