Re: [R] Graphics after invoking R from the command line

2007-11-28 Thread Duncan Murdoch
On 11/28/2007 12:52 PM, Mithun Jacob wrote: > I wish to run R with Visual C++ as a front end. So I was hoping to run > a file such as graph.r in the following manner: > > R --slave --save --file=graph.r I'd set things up to save the graphics to a file, and get your C++ program to display the fi

Re: [R] Graphics after invoking R from the command line

2007-11-28 Thread Prof Brian Ripley
On Wed, 28 Nov 2007, Mithun Jacob wrote: >>> Duncan Murdoch > > I wish to run R with Visual C++ as a front end. So I was hoping to run > a file such as graph.r in the following manner: > > R --slave --save --file=graph.r > > But when the plot function runs, it does not display the graph. > >>> Pro

Re: [R] Graphics after invoking R from the command line

2007-11-28 Thread Mithun Jacob
>>Duncan Murdoch I wish to run R with Visual C++ as a front end. So I was hoping to run a file such as graph.r in the following manner: R --slave --save --file=graph.r But when the plot function runs, it does not display the graph. >>Prof Brian Ripley: So would I be correct to assume that it's

Re: [R] Graphics after invoking R from the command line

2007-11-28 Thread Prof Brian Ripley
On Wed, 28 Nov 2007, Mithun Jacob wrote: > I've tried running graphics commands like plot by invoking R at the > command line but the graphics window does not appear. I'm using > R-2.6.0 on Windows XP and am using the cmd shell. Here's a sample > session: > > R --slave --save --file=- > x<-c(1,2,3

Re: [R] Graphics after invoking R from the command line

2007-11-28 Thread Duncan Murdoch
On 11/28/2007 12:05 PM, Mithun Jacob wrote: > I've tried running graphics commands like plot by invoking R at the > command line but the graphics window does not appear. I'm using > R-2.6.0 on Windows XP and am using the cmd shell. Here's a sample > session: > > R --slave --save --file=- > x<-c(1,

[R] Graphics after invoking R from the command line

2007-11-28 Thread Mithun Jacob
I've tried running graphics commands like plot by invoking R at the command line but the graphics window does not appear. I'm using R-2.6.0 on Windows XP and am using the cmd shell. Here's a sample session: R --slave --save --file=- x<-c(1,2,3,4) plot(x,x) This leads to nothing. I've found a way