summary: when I add (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
to my init.el and restart emacs, I get *Backtrace* > Debugger entered--Lisp error: (void-variable tramp-remote-path) > add-to-list(tramp-remote-path tramp-own-remote-path) details: Tom Roche Thu, 12 Jan 2012 19:42:21 -0500 >>> I get >>> *R* >>> > env: R: No such file or directory >>> > >>> > Process R exited abnormally with code 127 [...] >>> 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) >>> ... >>> remote:~ $ /usr/bin/env R --version >>> R version 2.14.0 (2011-10-31) >>> looks fine to me. I'm wondering, what might make tramp unable to >>> start R[?] p...@potis.org Fri, 13 Jan 2012 01:45:52 +0000 >> 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 Michael Albinus Fri, 13 Jan 2012 09:44:36 +0100 > 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) The latter seems preferable. I currently have in my init.el > ; ------------------------------------------------------------------ > ; tramp > ; ------------------------------------------------------------------ > > (require 'tramp) ; if not already > ;;; from > http://www.saltycrane.com/blog/2008/11/creating-remote-server-nicknames-sshconfig/ > (tramp-set-completion-function "ssh" > '((tramp-parse-sconfig "/etc/ssh_config") > (tramp-parse-sconfig "~/.ssh/config"))) I appended (add-to-list 'tramp-remote-path 'tramp-own-remote-path) to the above, byte-compile-file init.el, and restarted emacs. But restart abended with *Backtrace* > Debugger entered--Lisp error: (void-variable tramp-remote-path) > add-to-list(tramp-remote-path tramp-own-remote-path) What am I doing wrong? Again, locally, I have * M-x emacs-version > GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) > of 2012-01-11 on cw-bkp0, modified by Debian [2 times] * M-x tramp-version > 2.2.3-24.1 Your assistance is appreciated! Tom Roche <tom_ro...@pobox.com> _______________________________________________ Tramp-devel mailing list Tramp-devel@gnu.org https://lists.gnu.org/mailman/listinfo/tramp-devel