[ESS] temporarely leaving ess-remote session...

tyler tyler.smith at mail.mcgill.ca
Wed Sep 3 21:18:00 CEST 2008

Stefan Petersson <stefan at inizio.se> writes:

> I'm using an ssh session with ess-remote to run R on a dedicated
> machine on our network. Since my computer is a laptop, and I sometimes
> start tedious batch jobs on the R-Server, I was wondering if it is
> possible to leave an ess-remote/ssh process open on the server side,
> unplug my laptop, and plug it in the next day and pick up the
> ess-remote/ssh process where I left it?

I haven't used this myself, but Gnu Screen is designed to offer just
this sort of functionality.

On the other hand, re-connecting to a running computation doesn't really
get you much: you can check that it's still running, but if it is you
can't do anything in the session until it's done anyways. As an
alternative, when I'm running long simulations on a remote machine I
include code to email me progress reports so I know when runs are
starting or finishing.

Our network uses shell scripts to process R batch jobs, so it's easy to
add these little email notes. Presumably you could do the same from
within R itself, via the system() function.



Tired of spyware? Try Firefox:


More information about the ESS-help mailing list