Re: [Rpy] rpy in Windows, how to get started?

2010-01-04 Thread Mark Larsen
> What is wrong? Eva, Make sure you are reading these docs for rpy2 here: http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#getting-started And not the ones for rpy, they are very different implementations. (IMHO, I'd stick with rpy2 over rpy). You want this: from rpy2 import robject

Re: [Rpy] rpy in Windows, how to get started?

2010-01-04 Thread Eva Lindberg
Ok, thank you! I had no idea about that. I tried >>> from rpy2 import * and python accepted it without any complaints. But now my problem is how to call r functions. I tried the example in the README file >>> values = [r.dchisq(x, 4) for x in r.seq(0, 10, by=0.1)] and got an error message:

Re: [Rpy] rpy in Windows, how to get started?

2010-01-04 Thread Peter
On Mon, Jan 4, 2010 at 2:39 PM, Eva Lindberg wrote: > Hi, > > I have used R before and I am now learning python so of course I want to > connect them using rpy. > > I am working in Windows and I have followed the steps in > http://rpy.sourceforge.net/rpy/README. I’m using R-2.10.1 so I have added

[Rpy] rpy in Windows, how to get started?

2010-01-04 Thread Eva Lindberg
Hi, I have used R before and I am now learning python so of course I want to connect them using rpy. I am working in Windows and I have followed the steps in http://rpy.sourceforge.net/rpy/README. I'm using R-2.10.1 so I have added C:\Program Files\R\R-2.10.1\bin to my path variable. When I t