0

Sorry for any duplicates, but I am lacking the correct words to google the answer myself.

I am using ess with emacs to run R in a terminal in emacs, kind of like:

  1. Start emacs
  2. M-x term, start bash
  3. Start R (interactive mode)
  4. M-x ess-remote, select R as language.

When I quit R, I want to turn off the ess-state and use the normal "term" state.

I am using GNU Emacs 23.2.1 and ess v. 13.05.

MrGumble
  • 5,631
  • 1
  • 18
  • 33

1 Answers1

1

No easy way. Unless you use screen, the preferred way to use ESS with remotes is through tramp. See the official docs.

VitoshKa
  • 8,387
  • 3
  • 35
  • 59
  • I cannot ssh into the remote machine, should I still use tramp? And can you explain what you mean by using 'screen'? – MrGumble Jan 15 '14 at 07:59
  • @MrGumble Tramp supports a variety of protocols. I personally use it only with ssh for remote access and have no experience with anything else. You should also update your emacs and ESS. ESS 13.9-1 sorted a lot of remote-specific stuff. – VitoshKa Jan 15 '14 at 23:35