[R] how to make R plot under Linux

Patrick Connolly p_connolly at slingshot.co.nz
Thu May 15 09:56:01 CEST 2014


On Thu, 15-May-2014 at 09:37AM +0800, 友文 wrote:

|> In our server, R is already installed. But the X11 is DISABLE.

|>  The operational system of server is Ubuntu. It is only a command
|>  line system without graph interface.

|>  Do you know how to Enable X11 in R on the Ubuntu server?

|>  I have a short chat with the administrator, he told me it is
|>  technical impossible to install X11 in the server. But I suspect
|>  his answer. There should be ways to solve it.

I understand that Rstudio can work through a browser to an Rstudio
server without X11.  I'd personally hate to work that way so I've
never checked it out, but others are less fussy.  It might work for
you.

|>  Thanks! 



|> 
|>   
|>   ------------------ Original ------------------
|>   From:  "MacQueen, Don";<macqueen1 at llnl.gov>;
|>  Date:  May 15, 2014
|>  To:  "????"<815551145 at qq.com>; "r-help at stat.math.ethz.ch"<r-help at stat.math.ethz.ch>; 
|>  
|>  Subject:  Re: [R] how to make R plot under Linux
|> 
|>  
|> 
|> Yes, install R so that X11 is enabled, then do
|> 
|> x11()
|> hist( c(1:10) )
|> 
|> and you should see your histogram.
|> 
|> -- 
|> Don MacQueen
|> 
|> Lawrence Livermore National Laboratory
|> 7000 East Ave., L-627
|> Livermore, CA 94550
|> 925-423-1062
|> 
|> 
|> 
|> 
|> 
|> On 5/14/14 1:26 AM, "Owen" <815551145 at qq.com> wrote:
|> 
|> >Vojt??ch Zeisek <Vojtech.Zeisek <at> opensuse.org> writes:
|> >
|> >> 
|> >> On Linux You can use Rkward http://rkward.sourceforge.net/ - very nice
|> >>and 
|> >> good graphical user interface for R.
|> >> 
|> >> Dne P?? 19. ??nora 2010 19:39:53 xinwei <at> stat.psu.edu napsal(a):
|> >> > Hi, I am using R in Linux environment. How can i make plot in Linux
|> >>just
|> >> > like in windows?
|> >> > 
|> >> > thanks
|> >> > 
|> >> > ______________________________________________
|> >> > 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.
|> >
|> >Hi,
|> >I have connected to the Linux server via ssh -X using Putty and can
|> >successfully show "xclock" window in Xming.
|> >However, when i used R and run  command "hist(c(1:10))", i cannot get the
|> >figure in the Xming window (nothing happened in the Xming window).
|> >The output of capabilities() is as following:
|> >> capabilities()
|> >    jpeg      png     tiff    tcltk      X11     aqua http/ftp  sockets
|> >    TRUE     TRUE    FALSE    FALSE    FALSE    FALSE     TRUE     TRUE
|> >  libxml     fifo   cledit    iconv      NLS  profmem    cairo
|> >    TRUE     TRUE     TRUE     TRUE     TRUE    FALSE     TRUE
|> >
|> >What should i do to see the popup plot of R? should i need to ask the
|> >Administrator to enable X11?
|> >Thanks!
|> >
|> >______________________________________________
|> >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.
|> 
|> .
|> 	[[alternative HTML version deleted]]
|> 

|> ______________________________________________
|> 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.


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list