Re: [R] R on X11 under Linux (newbie)

From: Ted Harding <>
Date: Mon, 28 Apr 2008 22:37:21 +0100 (BST)

On 28-Apr-08 21:22:51, Dumblauskas, Jerry wrote:
> I just installed R on my 64 bit SUSE Linux system
> -- I compiled with the default x windows support on..
> This may be a newbie question (apologies in advance)--
> but how does this show up in X?
> I have SSH'd in to my box and set my display -- I can
> run xcalc OK -- but when I hit the R binary it just goes
> to the command line -- if does not give me an x-window.

If I understand your problem correctly, you have logged into a remote box and are using a "terminal" window at that point. If you enter the command R in that terminal, then you will be operating R via command lines in that same terminal.

If you want a separate X window with R running in it, the usual procedure would be to open a new X window from you current command line. One possibility is simply to enter the command

  xterm &

(the "&" is important -- it will "detach" the new window from the terminal ijn which you started it). Then you can switch to the new window and run R in that.

Any graphics generated by R will cause a new X window to appear in which the graphics will be displayed. You can generate additional X windows for additional graphic (keeping what you have already) with X11().

If you're logging in via ssh, you may need to log in using the command

  ssh -X <host>


  ssh -X <user>@<host>

to ensure that the remote X client has permission to send its X requests to the machine you are sitting at.

Hoping this helps,

E-Mail: (Ted Harding) <> Fax-to-email: +44 (0)870 094 0861
Date: 28-Apr-08                                       Time: 22:37:18
------------------------------ XFMail ------------------------------

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 28 Apr 2008 - 21:41:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Apr 2008 - 04:30:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive