Re: [R] remotely saving an R session

2006-09-21 Thread Prof Brian Ripley
On Wed, 20 Sep 2006, Jeffrey Horner wrote: Gamal Azim wrote: Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is rather straightforward by itself. Yes. Sending the process a SIGUSR1 signal: $ kill -USR1 pid will save the global

Re: [R] remotely saving an R session

2006-09-21 Thread Barry Rowlingson
Jeffrey Horner wrote: $ kill -USR1 pid will save the global environment in the file .RData, but you'll need to remember the current working directory of the process to find it. Remember? With a computer, you never need to remember! $ ls -l /proc/$pid/cwd is a symlink to the current

[R] remotely saving an R session

2006-09-20 Thread Gamal Azim
Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is rather straightforward by itself. Thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] remotely saving an R session

2006-09-20 Thread Gamal Azim
Forgot to indicate that the remote system is Linux, accessed remotely by ssh. --- Gamal Azim [EMAIL PROTECTED] wrote: Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is rather straightforward by itself. Thanks

Re: [R] remotely saving an R session

2006-09-20 Thread Simon Blomberg
Does save.image do what you want? Gamal Azim wrote: Forgot to indicate that the remote system is Linux, accessed remotely by ssh. --- Gamal Azim [EMAIL PROTECTED] wrote: Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is

Re: [R] remotely saving an R session

2006-09-20 Thread Jeffrey Horner
Gamal Azim wrote: Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is rather straightforward by itself. Yes. Sending the process a SIGUSR1 signal: $ kill -USR1 pid will save the global environment in the file .RData, but you'll need