Re: [Rpy] unable to install rpy2

2012-08-01 Thread Avishek Dutta
Hi, Sorry, it was my PATH, which was wrong. After running the setup.py, I got the following: running build_ext Traceback (most recent call last): File "setup.py", line 476, in 'rpy2': ['doc/source/rpy2_logo.png', ]} File "C:\Python27\ArcGIS10.1\Lib\distutils\core.py", line 152, in setup

[Rpy] rpy2: Problem trying to get cv.lars

2012-08-01 Thread Néstor Espinoza
Dear all, I'm having trouble calling the cv.lars functionin Python from the 'lars' package. I suppose the problem is that the function has to be called with an extra point, which is not described in the examples on the page. My attempt was to

Re: [Rpy] rpy2: Problem trying to get cv.lars

2012-08-01 Thread Néstor Espinoza
Never mind, I solved it. The trick was to do: larscv=lars.cv_lars(Xr,yr) instead of the code I presented. Sorry for the apparent spam :-). 2012/8/1 Néstor Espinoza > Dear all, > > I'm having trouble calling the cv.lars > functionin Python