Re: [R] remotely saving an R session

From: Barry Rowlingson <>
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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.