[R] Access to R from a remote location - follow up

Martin Maechler maechler at stat.math.ethz.ch
Fri Jan 10 09:02:03 CET 2003

>>>>> "Roger" == Roger Peng <rpeng at stat.ucla.edu>
>>>>>     on Thu, 9 Jan 2003 14:11:47 -0800 (PST) writes:

    Roger> This is possible because I've done it many times.
    Roger> But I think whether or not your job gets killed when
    Roger> you log out depends on your shell/operating system.

For R on Unix alikes the easiest way probably is

    R BATCH myscript.R &

where the final "&" is absolutely crucial and mentioned on the
help(BATCH) page. 
Since "R BATCH" does a "--save" automatically and since I never
work with .RData (but rather with explicit save()s and load()s
when needed), my "myscript.R" would end with  


Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

    Roger> On Thu, 9 Jan 2003, Martin Renner wrote:

    >> Following up on Erick's post, does anybody know whether it is 
    >> possible to start a lengthy batch-job in R, then log-out/break a 
    >> dial-up connection (while R is still running) and later pick-up the R 
    >> outfile?
    >> Martin Renner
    >> At 1:12 PM -0500 1/9/03, Erick Edwards wrote:
    >> >Currently, our organization grants some employees remote access to SAS
    >> >and other software through a secure Citrix-based network server.  We
    >> >would like to install R on a dedicated network server and enable remote
    >> >access through Citrix.  Is this possible?  If so, what additional
    >> >software would we need?  Any advice would be greatly appreciated.
    >> >
    >> >Erick Edwards

More information about the R-help mailing list