1

I'm trying to configure ESS to use a different R program path when I'm on a remote session. Now, every time I ssh into the hpc cluster I use, I set the variable inferior-ess-R-program to /weird/path/to/R to make ESS open up a remote R session, but I'd like to figure out how to this automatically. I use R on my local machine via ESS as well, so changing the variable permanently it not an option. Thanks!

2

I don't know which Tramp version you use. But in the more recent versions, you can set connection-local variables. Check the Tramp manual for details.

| improve this answer | |
  • Thanks - I use the most recent version. I've been consulting the manual, but somehow I'm yet to make it work. I'll try a bit more. Thanks! – apprentice Oct 8 at 3:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.