Skip to content
Prev 275264 / 398503 Next

how to save an R object to a remote computer

On Sun, Oct 23, 2011 at 7:46 PM, Molly Davies <mollymdavies at gmail.com> wrote:
The easiest way would be to do this at the operating system level -
not using R. Some kind of shared file system between the computers.
How are you running R remotely? What OS is the remote machine? Are you
using connecting to a Windows machine via RDP (Remote Desktop) or a
Linux box with SSH or something else?

 With RDP its possible to tell the remote desktop program to mount
local drives (such as hard disks or USB drives) as extra drives on the
remote windows box (so you see extra K:,J: etc drives). Then you'd
just get R to write to K:\something\ and its going straight on your
laptop.

 For a remote Linux machine you might be able to use SSHFS to create a
connection to your laptop from the server.

 However these things will probably rely on things being installed on
the server and possibly friendly network technicians. Sometimes the
real easiest solution involves smiling sweetly to the people who
control the disk space, and if that doesn't work get your supervisor
to try it...

I'll just check you're not one of our students...

Barry