p...@potis.org 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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.