[sage-devel] Re: R and rpy

2008-01-24 Thread mhampton
Did you do that on a linux machine, or on OS X with X11 running? Because it seemed to me that the r.png device required X11. On Jan 24, 1:38 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 9:24 AM, mhampton <[EMAIL PROTECTED]> wrote: > > > > > OK I think I have learned a little.

[sage-devel] Re: R and rpy

2008-01-24 Thread William Stein
On Jan 24, 2008 9:24 AM, mhampton <[EMAIL PROTECTED]> wrote: > > OK I think I have learned a little. The following code seems to flush > the output properly, and sends it to the current cell. > > r.postscript(os.curdir+'/out.ps') > r.par(ann=0) > values = [x for x in srange(0,float(pi),.1)] > r.p

[sage-devel] Re: R and rpy

2008-01-24 Thread mhampton
OK I think I have learned a little. The following code seems to flush the output properly, and sends it to the current cell. r.postscript(os.curdir+'/out.ps') r.par(ann=0) values = [x for x in srange(0,float(pi),.1)] r.plot(values, [sin(x) for x in values], type='lines') r.dev_off() On Jan 24,

[sage-devel] Re: R and rpy on OS X

2007-05-03 Thread Hamptonio
If you are starting from scratch, that may be true. But there are many, many stats folks out there with code, lectures, textbooks, etc. written for R. The vast majority will not switch to something else unless there is some back-compatability. -Marshall Hampton On May 3, 12:51 pm, Nick Alexand

[sage-devel] Re: R and rpy on OS X

2007-05-03 Thread boothby
My favorite feature of R is that it has very robust data-fitting routines. On Thu, 3 May 2007, Nick Alexander wrote: > > Hamptonio <[EMAIL PROTECTED]> writes: > >> Hi, >> >> Although I don't use it myself, I think that incorporating R will be a >> huge boost to SAGE, and so I have been trying t

[sage-devel] Re: R and rpy on OS X

2007-05-03 Thread Nick Alexander
Hamptonio <[EMAIL PROTECTED]> writes: > Hi, > > Although I don't use it myself, I think that incorporating R will be a > huge boost to SAGE, and so I have been trying to get R and rpy working > on OS X. I don't doubt that incorporating R would be nice, but AFAICT the advantage to using R is its