Re: [R] how to make R plot under Linux

2014-05-15 Thread Rolf Turner

On 15/05/14 17:18, Jeff Newmiller wrote:

This is not an Ubuntu tech support list. It is possible to install
the X11 client support even on headless servers, which is one of the
things R on the server needs to send graphics commands to your
computer.  However, if your sysadmin won't do it then it is not going
to happen, and we are most definitely not here to tell him how to do
his job since this is a list for questions about R.


Well ***somebody*** ought to tell the dork how to do his job, since he 
clearly isn't doing it.  The job of a system administrator should be to 
help users to accomplish the tasks that they need to do, not to hinder, 
impede and stone-wall them.


The tell-tale word here is administrator --- those of that breed seem 
to get their kicks from frustrating those who do the actual work.


cheers,

Rolf Turner

__
R-help@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.


Re: [R] how to make R plot under Linux

2014-05-15 Thread Patrick Connolly
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;macque...@llnl.gov;
|  Date:  May 15, 2014
|  To:  815551...@qq.com; 
r-h...@stat.math.ethz.chr-h...@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 815551...@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 tifftcltk  X11 aqua http/ftp  sockets
| TRUE TRUEFALSEFALSEFALSEFALSE TRUE TRUE
|   libxml fifo   clediticonv  NLS  profmemcairo
| TRUE TRUE TRUE TRUE TRUEFALSE 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@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@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
  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

__
R-help@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.


Re: [R] how to make R plot under Linux

2014-05-14 Thread Owen
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 tifftcltk  X11 aqua http/ftp  sockets
TRUE TRUEFALSEFALSEFALSEFALSE TRUE TRUE
  libxml fifo   clediticonv  NLS  profmemcairo
TRUE TRUE TRUE TRUE TRUEFALSE 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@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.


Re: [R] how to make R plot under Linux

2014-05-14 Thread MacQueen, Don
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 815551...@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 tifftcltk  X11 aqua http/ftp  sockets
TRUE TRUEFALSEFALSEFALSEFALSE TRUE TRUE
  libxml fifo   clediticonv  NLS  profmemcairo
TRUE TRUE TRUE TRUE TRUEFALSE 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@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.

__
R-help@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.


Re: [R] how to make R plot under Linux

2014-05-14 Thread ????
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. 
 Thanks! 

  
  -- Original --
  From:  MacQueen, Don;macque...@llnl.gov;
 Date:  May 15, 2014
 To:  ÓÑÎÄ815551...@qq.com; 
r-h...@stat.math.ethz.chr-h...@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 815551...@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 tifftcltk  X11 aqua http/ftp  sockets
TRUE TRUEFALSEFALSEFALSEFALSE TRUE TRUE
  libxml fifo   clediticonv  NLS  profmemcairo
TRUE TRUE TRUE TRUE TRUEFALSE 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@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@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.


Re: [R] how to make R plot under Linux

2014-05-14 Thread Jeff Newmiller
This is not an Ubuntu tech support list. It is possible to install the X11 
client support even on headless servers, which is one of the things R on the 
server needs to send graphics commands to your computer.  However, if your 
sysadmin won't do it then it is not going to happen, and we are most definitely 
not here to tell him how to do his job since this is a list for questions about 
R.
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On May 14, 2014 6:37:17 PM PDT, 友文 815551...@qq.com 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. 
 Thanks! 

  
  -- Original --
  From:  MacQueen, Don;macque...@llnl.gov;
 Date:  May 15, 2014
To:  815551...@qq.com;
r-h...@stat.math.ethz.chr-h...@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.

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-23 Thread Patrick Connolly
On Mon, 22-Feb-2010 at 02:45PM -0500, Cedrick W. Johnson wrote:

| 
| I've managed to successfully use R (based on a remote Linux server) and have 
th
| e graphics piped back to me via SSH on a windows machine..
| 
| Take a look at XMing on the windows side, along with PuTTY.

Ask your IT guys about VNC.  I think it's even easier.  Depends on
what happens at your place and we have precious little information on
that.


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

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread xin wei

thank you for reply. I just type: hist(x) from SSH terminal, expecting a
histogram to pop up like what i got under windows.instead I got the
following error msg:

Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
d$colortype,  : 
  unable to start device X11cairo
In addition: Warning message:
In function (display = , width, height, pointsize, gamma, bg,  :
  unable to open connection to X11 display ''

Would you give some clues what is going on?

thanks


-- 
View this message in context: 
http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1564632.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread K. Elo
Hi!

22.02.2010 17:45, xin wei wrote:
 
 thank you for reply. I just type: hist(x) from SSH terminal, expecting a
 histogram to pop up like what i got under windows.instead I got the
 following error msg:
 
 Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
 d$colortype,  : 
   unable to start device X11cairo
 In addition: Warning message:
 In function (display = , width, height, pointsize, gamma, bg,  :
   unable to open connection to X11 display ''
 
 Would you give some clues what is going on?

You wrote you are using R over an SSH connection. Have you enabled
X-window support for the connection (see 'man ssh')?

HTH,
-Kimmo

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Kevin E. Thorpe

xin wei wrote:

thank you for reply. I just type: hist(x) from SSH terminal, expecting a
histogram to pop up like what i got under windows.instead I got the
following error msg:

Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
d$colortype,  : 
  unable to start device X11cairo

In addition: Warning message:
In function (display = , width, height, pointsize, gamma, bg,  :
  unable to open connection to X11 display ''

Would you give some clues what is going on?

thanks




Did you start ssh with the -X switch?

--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread xin wei

hi, Kevin and K.Elo:
thank you for the suggestion. Can you be more specific on these? (like how
exactly get into x-switch or man ssh). I am totally ignorant about linux and
SSH:( Memory limitation forces me to switch from windows to Linux
cluster.

Xin
-- 
View this message in context: 
http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1564850.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Vojtěch Zeisek
Dne Po 22. února 2010 18:53:55 xin wei napsal(a):
 hi, Kevin and K.Elo:
 thank you for the suggestion. Can you be more specific on these? (like how
 exactly get into x-switch or man ssh). I am totally ignorant about linux

Hello,
in Linux You can plot as in Windows, for example using hist(x). But not over 
remote connection using SSH. Connect with command similar to
ssh -X your_usern...@remote.server.com
Then You can launch applications making windows. Normally, over SSH You can 
use only text-based applications. But there is one big but: the remote 
server has to support the -X switch. If it is not permitted in configuration 
of server's SSH daemon, You can not use it and You will not have windows with 
Your graphs. Then You would have to ask admin of the server or run R on Your 
own computer. For more information type man ssh.
Best regards,
Vojtěch Zeisek

  and SSH:( Memory limitation forces me to switch from windows to
  Linux cluster.
 
 Xin
-- 
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu /
Community of the openSUSE GNU/Linux

http://www.opensuse.org/
http://web.natur.cuni.cz/~zeisek/


signature.asc
Description: This is a digitally signed message part.
__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread K. Elo
Hi!

22.02.2010 19:53, xin wei wrote:
 
 hi, Kevin and K.Elo:
 thank you for the suggestion. Can you be more specific on these? (like how
 exactly get into x-switch or man ssh). I am totally ignorant about linux and
 SSH:( Memory limitation forces me to switch from windows to Linux
 cluster.

Could you provide us with more information about the software you use
for establishing the ssh connection (i.e. your ssh client). I suppose
you are connecting a linux server (having R on it) from a windows
system, aren't you? And you use a ssh client software, right? There
should be an enable X11 forwarding (or something similar) option in
your ssh client application. You should look e.g. in connection settings.

Kind regards,
Kimmo

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Kevin E. Thorpe

K. Elo wrote:

Hi!

22.02.2010 19:53, xin wei wrote:

hi, Kevin and K.Elo:
thank you for the suggestion. Can you be more specific on these? (like how
exactly get into x-switch or man ssh). I am totally ignorant about linux and
SSH:( Memory limitation forces me to switch from windows to Linux
cluster.


Could you provide us with more information about the software you use
for establishing the ssh connection (i.e. your ssh client). I suppose
you are connecting a linux server (having R on it) from a windows
system, aren't you? And you use a ssh client software, right? There
should be an enable X11 forwarding (or something similar) option in
your ssh client application. You should look e.g. in connection settings.

Kind regards,
Kimmo


Agree.  Sounds like you are using a client on Windows.  Also, Vojtech 
Zeisek's reply is pertinent too.


--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Zhuanshi He
Hi,

You just need to install X11 windows software on windows, such as
xming, and start xming before ssh -X use...@remotehost

Hope this helps.


On 2/22/10, xin wei xin...@stat.psu.edu wrote:


  thank you for reply. I just type: hist(x) from SSH terminal, expecting a
  histogram to pop up like what i got under windows.instead I got the
  following error msg:

  Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
  d$colortype,  :
   unable to start device X11cairo
  In addition: Warning message:
  In function (display = , width, height, pointsize, gamma, bg,  :
   unable to open connection to X11 display ''

  Would you give some clues what is going on?

  thanks



  --
  View this message in context: 
 http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1564632.html
  Sent from the R help mailing list archive at Nabble.com.


  __
  R-help@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.





-- 
Zhuanshi He / Z. He (PhD)
Waterloo Centre for Atmospheric Sciences (WCAS)
Department of Earth and Environmental Sciences
Phy Bldg, Rm 2022
University of Waterloo,
Waterloo, ON N2L 3G1
Canada
Tel: +1-519-888-4567 ext 36667

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Vojtěch Zeisek
Dne Po 22. února 2010 19:33:45 Kevin E. Thorpe napsal(a):
 K. Elo wrote:
  Hi!
 
  22.02.2010 19:53, xin wei wrote:
  hi, Kevin and K.Elo:
  thank you for the suggestion. Can you be more specific on these? (like
  how exactly get into x-switch or man ssh). I am totally ignorant about
  linux and SSH:( Memory limitation forces me to switch from
  windows to Linux cluster.
 
  Could you provide us with more information about the software you use
  for establishing the ssh connection (i.e. your ssh client). I suppose
  you are connecting a linux server (having R on it) from a windows
  system, aren't you? And you use a ssh client software, right? There
  should be an enable X11 forwarding (or something similar) option in
  your ssh client application. You should look e.g. in connection
  settings.

When I have to work from Windows (i do not like it:-), I use Putty 
http://www.chiark.greenend.org.uk/~sgtatham/putty/ - there is possibility to 
enable X11 forwarding enabling using also applications with windows. But here 
I can not help - see documentation. Another possibility should be exporting 
the graphs to files without viewing and then downloading using SCP or SFTP. Or 
it might be possible to use some VNC client and to connect to the server with 
full-featured remote desktop. But here more information would provide local 
admin.
Best regards,
Vojtěch Zeisek

  Kind regards,
  Kimmo
 
 Agree.  Sounds like you are using a client on Windows.  Also, Vojtech
 Zeisek's reply is pertinent too.
-- 
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu /
Community of the openSUSE GNU/Linux

http://www.opensuse.org/
http://web.natur.cuni.cz/~zeisek/


signature.asc
Description: This is a digitally signed message part.
__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Cedrick W. Johnson

I've managed to successfully use R (based on a remote Linux server) and have th
e graphics piped back to me via SSH on a windows machine..

Take a look at XMing on the windows side, along with PuTTY.


   On 2/22/2010 2:41 PM, Vojtěch Zeisek wrote:

Dne Po 22. února 2010 19:33:45 Kevin E. Thorpe napsal(a):
  

K. Elo wrote:


Hi!

22.02.2010 19:53, xin wei wrote:
  

hi, Kevin and K.Elo:
thank you for the suggestion. Can you be more specific on these? (like
how exactly get into x-switch or man ssh). I am totally ignorant about
linux and SSH:( Memory limitation forces me to switch from
windows to Linux cluster.


Could you provide us with more information about the software you use
for establishing the ssh connection (i.e. your ssh client). I suppose
you are connecting a linux server (having R on it) from a windows
system, aren't you? And you use a ssh client software, right? There
should be an enable X11 forwarding (or something similar) option in
your ssh client application. You should look e.g. in connection
settings.
  

When I have to work from Windows (i do not like it:-), I use Putty 
[1]http://www.chiark.greenend.org.uk/~sgtatham/putty/ - there is possibility to

enable X11 forwarding enabling using also applications with windows. But here
I can not help - see documentation. Another possibility should be exporting
the graphs to files without viewing and then downloading using SCP or SFTP. Or
it might be possible to use some VNC client and to connect to the server with
full-featured remote desktop. But here more information would provide local
admin.
Best regards,
Vojtěch Zeisek



Kind regards,
Kimmo


Agree.  Sounds like you are using a client on Windows.  Also, Vojtech
Zeisek's reply is pertinent too.


__
[2]r-h...@r-project.org mailing list
[3]https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide [4]http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

References

   1. http://www.chiark.greenend.org.uk/~sgtatham/putty/
   2. mailto:R-help@r-project.org
   3. https://stat.ethz.ch/mailman/listinfo/r-help
   4. http://www.R-project.org/posting-guide.html
__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread xin wei

hi, Guys:
thank you so much for all the suggestion. Now I seem to be able to set up
x11 forwarding in PUTTY. however, I still could not get plot and I get the
following error msg:

 Error in function (display = , width, height, pointsize, gamma, bg,  :
  X11 I/O error while opening X11 connection to 'localhost:20.0'

Is this error msg indication of lack of appropriate plotting package on the
server or the server is not properly set up for X11 forwarding?

thanks
-- 
View this message in context: 
http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1565113.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Duncan Murdoch

On 22/02/2010 3:46 PM, xin wei wrote:

hi, Guys:
thank you so much for all the suggestion. Now I seem to be able to set up
x11 forwarding in PUTTY. however, I still could not get plot and I get the
following error msg:

 Error in function (display = , width, height, pointsize, gamma, bg,  :
  X11 I/O error while opening X11 connection to 'localhost:20.0'

Is this error msg indication of lack of appropriate plotting package on the
server or the server is not properly set up for X11 forwarding?


It is likely that you are not running X Windows software on your PC. 


Duncan Murdoch

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Don MacQueen

The classic test for a properly set up X11 is to issue the command
   xclock
at the prompt (on the linux box). (this assumes the linux box has 
xclock installed, but that is highly likely)


If it works, the X11 forwarding is set up. If not, then, evidently 
not, but in the latter case at least you say it isn't R.


-Don

At 12:46 PM -0800 2/22/10, xin wei wrote:

hi, Guys:
thank you so much for all the suggestion. Now I seem to be able to set up
x11 forwarding in PUTTY. however, I still could not get plot and I get the
following error msg:

 Error in function (display = , width, height, pointsize, gamma, bg,  :
  X11 I/O error while opening X11 connection to 'localhost:20.0'

Is this error msg indication of lack of appropriate plotting package on the
server or the server is not properly set up for X11 forwarding?

thanks
--
View this message in context: 
http://*n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1565113.html

Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.



--
-
Don MacQueen
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062
m...@llnl.gov

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Saeed Abu Nimeh
Try to install xming in your windows box
http://www.straightrunning.com/XmingNotes/. Make sure to run xming
before plotting.
Saeed

On Mon, Feb 22, 2010 at 12:46 PM, xin wei xin...@stat.psu.edu wrote:

 hi, Guys:
 thank you so much for all the suggestion. Now I seem to be able to set up
 x11 forwarding in PUTTY. however, I still could not get plot and I get the
 following error msg:

  Error in function (display = , width, height, pointsize, gamma, bg,  :
  X11 I/O error while opening X11 connection to 'localhost:20.0'

 Is this error msg indication of lack of appropriate plotting package on the
 server or the server is not properly set up for X11 forwarding?

 thanks
 --
 View this message in context: 
 http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1565113.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@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.


__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread David Scott

Saeed Abu Nimeh wrote:

Try to install xming in your windows box
http://www.straightrunning.com/XmingNotes/. Make sure to run xming
before plotting.
Saeed

On Mon, Feb 22, 2010 at 12:46 PM, xin wei xin...@stat.psu.edu wrote:

hi, Guys:
thank you so much for all the suggestion. Now I seem to be able to set up
x11 forwarding in PUTTY. however, I still could not get plot and I get the
following error msg:

 Error in function (display = , width, height, pointsize, gamma, bg,  :
 X11 I/O error while opening X11 connection to 'localhost:20.0'

Is this error msg indication of lack of appropriate plotting package on the
server or the server is not properly set up for X11 forwarding?

thanks


The main point here is that none of this is to do with R. It is all 
about setting up the ssh connection properly. You are at a university 
and there should be a linux guru or at least someone else in the 
department who can assist. Someone set up the linux machine where R is 
running, they will know this stuff.


David Scott

--
_
David Scott Department of Statistics
The University of Auckland, PB 92019
Auckland 1142,NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email:  d.sc...@auckland.ac.nz,  Fax: +64 9 373 7018

Director of Consulting, Department of Statistics

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-22 Thread Zhuanshi He
HI,

Please try to setup environment variable DISPLAY on your remote machine.

ex,

csh:
setenv DISPLAY localhostIPAddress:20.0

or bash
export DISPLAY=localhostIPAddress:20.0

where localhostIPAddress is your IP address of your current working
machine (local machine)

Usually, I just use localhostIPAddress:0.0, you can ask your group
member to get information, which *.x you should use.

Hope this helps.


On 2/22/10, xin wei xin...@stat.psu.edu wrote:


  hi, Guys:
  thank you so much for all the suggestion. Now I seem to be able to set up
  x11 forwarding in PUTTY. however, I still could not get plot and I get the
  following error msg:

   Error in function (display = , width, height, pointsize, gamma, bg,  :
   X11 I/O error while opening X11 connection to 'localhost:20.0'

  Is this error msg indication of lack of appropriate plotting package on the
  server or the server is not properly set up for X11 forwarding?

  thanks

 --
  View this message in context: 
 http://n4.nabble.com/how-to-make-R-plot-under-Linux-tp1562060p1565113.html

 Sent from the R help mailing list archive at Nabble.com.

  __
  R-help@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.





-- 
Zhuanshi He / Z. He (PhD)
Waterloo Centre for Atmospheric Sciences (WCAS)
Department of Earth and Environmental Sciences
Phy Bldg, Rm 2022
University of Waterloo,
Waterloo, ON N2L 3G1
Canada
Tel: +1-519-888-4567 ext 36667

__
R-help@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.


[R] how to make R plot under Linux

2010-02-19 Thread xinwei
Hi, I am using R in Linux environment. How can i make plot in Linux just
like in windows?

thanks

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-19 Thread Ista Zahn
On 02/19/10 xin...@stat.psu.edu wrote:
 Hi, I am using R in Linux environment. How can i make plot in Linux just
 like in windows?

There shouldn't be much difference, but we're going to need a lot more 
information. What version of linux, what version of R, what exactly is the 
problem you are having...

-Ista

 
 thanks
 
 __
 R-help@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.

__
R-help@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.


Re: [R] how to make R plot under Linux

2010-02-19 Thread Vojtěch Zeisek
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 xin...@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@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.
-- 
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu /
Community of the openSUSE GNU/Linux

http://www.opensuse.org/
http://web.natur.cuni.cz/~zeisek/


signature.asc
Description: This is a digitally signed message part.
__
R-help@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.