[R] remoting ESS/R with tramp
poti at potis.org
poti at potis.org
Fri Jan 13 02:45:52 CET 2012
-Tom Roche Thu, 12 Jan 2012 11:56:25 -0500>>>
> - Starting R from the resulting tramp buffer fails with either of two
> messages in buffer=*Messages*
...
> > Cannot read history file /scpc:t:/home/me/.Rhistory
This is normal. Not a problem.
> I'm
> also guessing I might have a configuration problem, too.
...
>I get
> *R*
> > env: R: No such file or directory
> >
> > Process R exited abnormally with code 127 at Thu Jan 12 18:00:14 2012
> each time I try/fail to start R remotely. But
> local:~ $ ssh t
> ...
> remote:~ $ which R
> /usr/local/R-2.14.0/bin/R
> remote:~ $ $(which R) --version
> R version 2.14.0 (2011-10-31)
When I move R and Rscript out of my path, as expected, I also
have problems. If I use tramp to connect to remote, open a shell
there with M-x eshell, and type 'env' , my path is the path on
local. Before starting Emacs, try adding /usr/local/R-2.14.0/bin
to your local path, e.g.:
export PATH= $PATH:/usr/local/R-2.14.0/bin
More information about the R-help
mailing list