[R] Help needed: plotting with no device

Ross Boylan ross at biostat.ucsf.edu
Mon Sep 29 22:44:46 CEST 2003


I have a hung session I would very much like to recover, since it has
some simulation results I haven't saved (that took about 12 hours to
create).  Yes, I know, I should have saved while I had the chance.

I tried to do a hist() in an environment without a plotting device.
My R session now seems to be hung; ^C doesn't do anything.  I thought
it would timeout, but it has not so far.

The details of this session's environment are a bit baroque.  In case
it matters, here they are:
Running an xterm locally, used the "screen" program to start a shell.
Ran R.
Then, from a remote computer, used ssh to log in (without X forwarding
enabled).  Grabbed the session by doing screen -d -r.  (screen lets
you trade the controlling tty of a session; that's why I was using
it).

After detaching and reattaching the session a couple of times (still
remote) I did
> hist(tres4$singles[["a"]])
tres4$singles is a dataframe.
I can still type on the terminal, but get no response.

R 1.7.1 on Debian.

Is there any way to get the R session back without killing it?

Thanks.




More information about the R-help mailing list