Re: [R] remotely saving an R session

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Thu 21 Sep 2006 - 10:04:23 GMT

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 working directory. Even if you change it with setwd() in R, it is still correct.

Barry



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. Received on Thu Sep 21 20:19:27 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 21 Sep 2006 - 11:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.