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 ____________________________________________________________ TISCALI TANDEM FREE 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/
You may find "screen" useful, see e.g. http://tolstoy.newcastle.edu.au/R/e2/help/07/02/10824.html 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.) KR Martin 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 > > > ____________________________________________________________ > TISCALI TANDEM FREE > 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. >
Try using the unix command "screen" On 13/07/07, marilu.81 at tiscali.it <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 > > > ____________________________________________________________ > TISCALI TANDEM FREE > 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. > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ >-- Dr. Mark Wardle Clinical research fellow and specialist registrar, Neurology Cardiff, UK