Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3346642
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:19:41+00:00 2026-05-18T01:19:41+00:00

I am using emacs-snapshot with the ssh.el package, following the instructions from the ess

  • 0

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:

  1. open emacs
  2. C-x C-f /server:dir/file.R this puts me in ESS [S] mode
  3. Type ‘plot(1)’
  4. C-c C-n to run
  5. emacs asks for starting directory, and I choose the /server:dir/
  6. 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:19:42+00:00Added an answer on May 18, 2026 at 1:19 am

    I do it the other way around:

    • ssh -X some.server.com to connect to a remote server with x11 forwarding.

    • emacsclient -nw to restart an Emacs session that is already running

    • plot(cumsum(rnorm(100))) in R as usual

    Then the plot windows appears on the initial machine I ssh‘ed away from.

    Edit: As a follow-up to the comment: This works for any emacs, either emacs or emacs-snapshot. For a long time I used (server-start) in the ~/.emacs but now I prefer that (just once) lauch emacs --daemon after which I can then connect to via emacsclient (which also exists as emacsclient-snapshot). I really like this — it gives me Emacs around R in a persistent session that I connect, disconnect and reconnect to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using emacs tramp mode to remotely edit files over ssh. The problem is
I started using Emacs (ESS) as a default R editor (yes, @Dirk, as you've
When I was using emacs with the auctex plugin, there was a mode called
I am using emacs 23.2 with the GTK toolkit. I built emacs from source
The last few months I've been using Emacs extensively as my main development environment
I am using emacs for clojure development with the swank-clojure package. I would like
I am using emacs 22.2.1 on Ubuntu 9.04. Every time I open a file
Are there advantages of using Emacs instead of Eclipse for Android development? If so,
I've been using Emacs/ESS for quite a while, and I'm familiar with Hadley's R
When using emacs for writing erlang source code, I have made the following configuration.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.