[R] R and unix tool 'screen'

Giampiero Salvi giampi at speech.kth.se
Tue Jan 27 18:02:53 CET 2004


I have problems running R with screen. For those who don't know,
screen is a unix tool that is quite handy if you want to leave
a process (that outputs to tty) running when you logout, and
then recover the session later on.

It works like this:
1) run 'screen': you get a normal prompt as if you were in a normal
shell.
2) run whatever command you like
3) press 'C-a d' to detach the session. Now you can logoff if you like
4) when you want to recover the session type 'screen -r'

The problem is that R seems to catch the 'C-a' signal, and nothing happens.
Since there is no way to detach the screen, there is no use to it either.

Is there a way around this problem?

Giampiero
_________________________________________________________
Giampiero Salvi, M.Sc.          www.speech.kth.se/~giampi
Speech, Music and Hearing       Tel:      +46-8-790 75 62
Royal Institute of Technology   Fax:      +46-8-790 78 54
Drottning Kristinasv. 31,  SE-100 44,  Stockholm,  Sweden




More information about the R-help mailing list