[R] SSH Through R Script

Jonathan Baron baron at psych.upenn.edu
Tue Apr 13 13:00:04 CEST 2010

Another way to solve the problem is to mount the remote server using
sshfs and then access it as a directory on your local computer.  This
will require using the password once when you mount the server, but
you can just leave it mounted until you shut down your computer.

You have an empty directory called remoteserver.

sshfs myloginname at remoteserver.com: remoteserver

To unmount, say
fusermount -u remoteserver
but shutting down the computer will also do this.


More information about the R-help mailing list