Search code examples
remacsesslsf

running R in emacs on LSF


I would like to run R in emacs using ESS. My R session runs interactively but is submitted to a different host using LSF. Is there a way to make this work? That is, R is not being run locally. However, ESS seems to run a local copy which doesn't work since it limits the resources. Is there a place to specify what command ESS should run to launch R?


Solution

  • ESS can work with remote processes easily:

    http://ess.r-project.org/Manual/ess.html#ESS-processes-on-Remote-Computers

    You need to connect to the remote host yourself using emacs's telnet or ssh, launch R there, then tell ESS to use this buffer by doing M-x ess-remote in that buffer.