Re: [Rpy] RPy 1.0.3 : Problem with data_frame

2011-02-14 Thread Laurent
On 12/02/11 16:42, Pascal Grandeau wrote: > Good morning, > > I get a problem with RPy 1.0.3 (I installed it with > rpy-1.0.3.win32-py2.7-R.2.12.1.exe) when I try the statsmodels example : > here is the code and the error > > from rpy import r > import scikits.statsmodels as sm > > data=sm.datasets

[Rpy] RPy 1.0.3 : Problem with data_frame

2011-02-12 Thread Pascal Grandeau
Good morning, I get a problem with RPy 1.0.3 (I installed it with rpy-1.0.3.win32-py2.7-R.2.12.1.exe) when I try the statsmodels example : here is the code and the error from rpy import r import scikits.statsmodels as sm data=sm.datasets.longley.Load() y,x=data.endog,sm.add_constant(data.exog)