[R] R on X11 under Linux (newbie)

Dumblauskas, Jerry jerry.dumblauskas at credit-suisse.com
Tue Apr 29 04:27:28 CEST 2008


Thx

I verified by typing in plot(1,1) at the R prompt -- sure enough an X window popped up on my desktop.

Off to investigate Linux GUI front ends!

Thx again 

-----Original Message-----
From: Ted.Harding at manchester.ac.uk [mailto:Ted.Harding at manchester.ac.uk] 
Sent: Monday, April 28, 2008 5:20 PM
To: Dumblauskas, Jerry
Cc: r-help at r-project.org; Dumblauskas at 88-96-44-206.dsl.zen.co.uk
Subject: Re: [R] R on X11 under Linux (newbie)

On 28-Apr-08 21:42:19, Dumblauskas, Jerry wrote:
> I think this helps.
> 
> Are you saying the RGUI I see when I launch the windows version of R 
> will not show in Linux, just any commands that display graphics?
> I'll do a quick test.
> Thx

That is correct. There is an RGUI for Linux, but it is a separate optional package. I don't use it myself. If you would like to use it, I hope someone else will advise you!

Best wishes,
Ted.

> -----Original Message-----
> From: Ted.Harding at manchester.ac.uk
> [mailto:Ted.Harding at manchester.ac.uk]
> Sent: Monday, April 28, 2008 4:37 PM
> To: Dumblauskas, Jerry
> Cc: r-help at r-project.org
> Subject: RE: [R] R on X11 under Linux (newbie)
> 
> 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>
> 
> or
> 
>   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,
> Ted.
> 
> --------------------------------------------------------------------
> E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
> Fax-to-email: +44 (0)870 094 0861
> Date: 28-Apr-08                                       Time: 22:37:18
> ------------------------------ XFMail ------------------------------
> 
> ======================================================================
> ==
> ======
> Please access the attached hyperlink for an important 
> el...{{dropped:5}}
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 28-Apr-08                                       Time: 23:20:11
------------------------------ XFMail ------------------------------

==============================================================================
Please access the attached hyperlink for an important el...{{dropped:5}}



More information about the R-help mailing list