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

From: Dumblauskas, Jerry <jerry.dumblauskas_at_credit-suisse.com>
Date: Tue, 29 Apr 2008 03:27:28 +0100


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}}

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. Received on Tue 29 Apr 2008 - 02:34:55 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 - 09:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive