Skip to content
Prev 280260 / 398506 Next

R - Linux_SSH

On Wed, Dec 14, 2011 at 4:35 AM, Chris Mcowen <chrismcowen at gmail.com> wrote:
I am not aware of any way to keep the R session interactive although
perhaps a VNC server/client may offer this possibility. If you have a
long calculation, put it all in a script named myScript.R (or any
other file name) that does not require any human input, then run it as
a batch using the nohup linux command:

nohup R CMD BATCH myScript.R

The nohup command will prevent the termination of your R after you log
out, but you cannot run an interactive program this way.

HTH

Peter