[R] Running R in the background

Jun Yan jyan at stat.wisc.edu
Mon Sep 23 20:29:58 CEST 2002


You can have R (or other processes) run in the background through
nohup. At the shell prompt, do

nohup R BATCH --vanilla infile outfile &

You may logout and check your the output file after it finishes.

Jun

On Mon, 23 Sep 2002, Jennifer Hespen wrote:

> Hi,
> 
> I am running an R calculation on a Linux machine remotely. The calculations 
> take about 5 hours to complete, and inevitably my connection gets reset before 
> I finish my calculations. Someone told me that there is a way to invoke R in 
> the background, but I have not been able to find out how. Is this possible, 
> and if so how?
> 
> Thanks for your help,
> 
> Jennifer Hespen

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list