I am using emacs-snapshot with the ssh.el package, following the instructions from the ess manual.
There are a few ways to open an R session, but this is how I do it:
- open emacs
- C-x C-f /server:dir/file.R this puts me in ESS [S] mode
- Type 'plot(1)'
- C-c C-n to run
- emacs asks for starting directory, and I choose the /server:dir/
- I would like for a figure to pop up but it wont.
This also doesn't work when using ess-remote in shell or tramp mode, but it does work if I set the starting directory to my local desktop.
Any advice much appreciated. My current workaround is to print the file to pdf and then open pdf in DocView mode, but this takes a few extra steps and is slow.