[pymvpa] RPy and ENET

Michael Hanke michael.hanke at gmail.com
Mon Jan 11 13:10:25 UTC 2010


On Mon, Jan 11, 2010 at 08:06:46AM -0500, Per B. Sederberg wrote:
> > The externals test for GLMNET fails, although I can do:
> >
> > michael at meiner:(git)~/hacking/pymvpa.dev:[mh/master]$ R
> >
> > R version 2.10.0 (2009-10-26)
> > Copyright (C) 2009 The R Foundation for Statistical Computing
> > ISBN 3-900051-07-0
> >
> >> library(glmnet)
> > Loading required package: Matrix
> > Loading required package: lattice
> >>
> >
> >
> 
> Hmmmmm.  What happens when you do the following in ipython:
> 
> import rpy2.robjects
> rpy2.robjects.r.library('glmnet')

In [1]: import rpy2.robjects

In [2]: rpy2.robjects.r.library('glmnet')
Loading required package: Matrix
Loading required package: lattice
Out[2]: <RVector - Python:0x92c838c / R:0xa825e70>


That one seems to be fine.

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de



More information about the Pkg-ExpPsy-PyMVPA mailing list