[R] R file via SSH

Martin Becker martin.becker at mx.uni-saarland.de
Fri Jul 13 13:43:14 CEST 2007

You may find "screen" useful, see e.g.


for a short description how to use it with R (reattaching works via 
"screen -r"). (Maybe your sysadmin has to install screen first, it's a 
unix tool.)


marilu.81 at tiscali.it wrote:
> Goodmorning everybody,
> I need to run an R program via SSH. Usually I open R, I run the 
> program and I stay logged-in, waiting for the output. As a matter of 
> fact, if I close the connection with SSH I loose the calculations and 
> the output of my R program. What command I have to use in order to 
> preseve the calculations and the output without staying logged-in a SSH 
> connection?
> thanks in advance
> Marialucia
> ____________________________________________________________
> Telefono e Adsl 4 MB da € 22.95 al mese. Stacchi Telecom!
> GRATIS modem, segreteria e seconda linea telefonica!   
> http://abbonati.tiscali.it/adsl/prodotti/tc/tandemfree_tel/
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list