Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-17 Thread Pologruto, Thomas
: Pologruto, Thomas Cc: r-help@r-project.org Subject: RE: [R] Displaying Grahics to the X Window when calling R from command line I've just tried the following in 2.6.2 auk% cat x11.R X11() interactive() plot(1:10) locator() q() explicitly launch a device. It seems to be responsive enoug

Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-16 Thread Prof Brian Ripley
com/legal/marketcommentary > > > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 16, 2008 8:52 AM > To: Pologruto, Thomas > Cc: r-help@r-project.org > Subject: RE: [R] Displaying Grahics to the X Window when calling R from > co

Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-16 Thread Pologruto, Thomas
, Thomas Cc: r-help@r-project.org Subject: RE: [R] Displaying Grahics to the X Window when calling R from command line On Wed, 16 Apr 2008, Pologruto, Thomas wrote: > Thank you for your response. I tried searching the archives but did > not know that it was called X11() device. > >

Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-16 Thread Prof Brian Ripley
gt; > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 16, 2008 3:12 AM > To: Pologruto, Thomas > Cc: r-help@r-project.org > Subject: Re: [R] Displaying Grahics to the X Window when calling R from > command line > > The

Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-16 Thread Pologruto, Thomas
To: Pologruto, Thomas Cc: r-help@r-project.org Subject: Re: [R] Displaying Grahics to the X Window when calling R from command line The issue is that the X11() device is the default device only in interactive use, and further than the event loop is only run in interactive use. You need to 1

Re: [R] Displaying Grahics to the X Window when calling R from command line

2008-04-16 Thread Prof Brian Ripley
The issue is that the X11() device is the default device only in interactive use, and further than the event loop is only run in interactive use. You need to 1) make use of R 2.7.0 RC 2) call R with R --vanilla --interactive 3) arrange for your script to wait for something so the plot remains u

[R] Displaying Grahics to the X Window when calling R from command line

2008-04-15 Thread Pologruto, Thomas
Hi, I am running an R script from the command line by calling: > R --vanilla < test.R My terminal is part of the Xwin (Xterm) and there is a plot(1:10) command in the test.R script. This will not produce a grahic though. When I start R by calling R then plotting from the R command in the sam