Re: [Rpy] error

2010-08-07 Thread Laurent Gautier
Not necessarily. rpy2-2.0.8 can mostly do what you like, however may be not as simply / optimally as the rpy2-2.1.x series could. My recommendation would be to go for the 2.1.x series, or the 2.2.0-dev series if you are of the adventurous kind. There is also more documentation for those, more e

Re: [Rpy] error

2010-08-07 Thread Andrew Walsh
Yes thanks Laurent. So if I want to use factoran from R stats package I presume this means my only option is to install Linux somewhere rather than use windows (if I want to use it from Rpy2 which I do). Andrew. On Sat, Aug 7, 2010 at 9:38 PM, Laurent Gautier wrote: > So we'll all assume that yo

Re: [Rpy] rpy-list Digest, Vol 51, Issue 2

2010-08-07 Thread Fanny Gaukeley
Thanks a lot, Mark - the underscore fixed it immediately. Message: 4 Date: Sat, 7 Aug 2010 03:33:20 -0500 From: Mark Larsen Subject: Re: [Rpy] Fitting a glm: AttributeError: 'Robj' object has no attribute 'control' To: "RPy help,support and design discussion list" Message-ID:

Re: [Rpy] error

2010-08-07 Thread Laurent Gautier
So we'll all assume that you both found out that: - rpy2.robjects.packages only exists for rpy2 >= 2.1.0 - the windows binaries are currently stuck in the past, 2.0.8 being the latest version available. On 8/7/10 12:05 PM, Andrew Walsh wrote: > Huge apologies everyone. I thought I looked thro

Re: [Rpy] error

2010-08-07 Thread Andrew Walsh
Huge apologies everyone. I thought I looked through the list but obviously not very well at all. On Sat, Aug 7, 2010 at 8:03 PM, Andrew Walsh wrote: > I have installed Rpy2 v 2.08 under Windows XP 32. I want to do a > factor analysis from the R stats package. > From the RPY2 documentation I need

[Rpy] error

2010-08-07 Thread Andrew Walsh
I have installed Rpy2 v 2.08 under Windows XP 32. I want to do a factor analysis from the R stats package. >From the RPY2 documentation I need to import rpy2 packages. I find I can import rpy2 and rpy2.objects but rpy2.robjects.packages cannot be found. >>> import rpy2 >>> import rpy2.robjects >>

Re: [Rpy] Fitting a glm: AttributeError: 'Robj' object has no attribute 'control'

2010-08-07 Thread Mark Larsen
> model = rpy.r.glm(formula, data = d, family = 'binomial', control = > rpy.r.glm.control(maxit = 500)) > > Traceback (most recent call last): >  File "", line 1, in > AttributeError: 'Robj' object has no attribute 'control' It doesn't like the dot in the function name. Use: model = rpy.r.glm(

[Rpy] Fitting a glm: AttributeError: 'Robj' object has no attribute 'control'

2010-08-07 Thread Fanny Gaukeley
Dear all, I spent some time with trial and error and googling my Error and I didn't find anything, so I was hoping you could help me. I'm fitting a linear model and want to change the default value of the attribute 'control'. If omitting it, about 50% of my models stop with an "algorithm di