[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remoting ESS/R with tramp
From: |
Michael Albinus |
Subject: |
Re: remoting ESS/R with tramp |
Date: |
Fri, 13 Jan 2012 09:44:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
address@hidden writes:
> 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.
This is the correct behaviour of eshell:
/scp:slbps0:/root $ which env
eshell/env is a compiled Lisp function in `esh-var.el'
If you want the environment of your remote eshell session, you shall
call /bin/env instead.
> 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
With Tramp means, you could do
(add-to-list 'tramp-remote-path "/usr/local/R-2.14.0/bin")
Alternatively, you could instruct Tramp to preserve the path settings of
your remote account:
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
Best regards, Michael.