Nils Höller wrote: > Hi, > > I have some big calculations in R to be done. > Since I can use R on a server with ssh, i was wondering if I can reopen > a R Shell after exiting ssh. > > I don't want to use the batch mode and nohup doesn't work. > > I want to use something like > ssh [EMAIL PROTECTED] > R > ---do something in R and start calculation --- > close ssh but let R remain on the server, doing the calculation > > ssh [EMAIL PROTECTED] > open the existing R Shell / Process > > Has anyone done something similiar? > Can you help me or suggest an other solution ? >
Use "screen" http://www.gnu.org/software/screen/ 1. Login to remote server 2. Run screen 3. Run R, and the long calculation 4. Detach screen (Ctrl-A, Ctrl-D) 5. Logout Then you may login to server again, re-attach to the running screen and carry on! Best wishes, Mark -- Specialist Registrar and Clinical research fellow Department of Neurology Cardiff & Vale NHS Trust and Cardiff University ______________________________________________ R-help@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.