[Rpy] rpy rJava issues

2010-10-05 Thread Amanda Miotto
Dear All I have had issues with both rpy and rpy2 when it comes to using a library that uses rJava. The error is below using rpy >>> r.library('GenePattern') Loading required package: rJava Traceback (most recent call last): File "", line 1, in rpy.RPy_RException: Error: package 'rJava' coul

[Rpy] rpy rJava issues

2010-10-05 Thread Amanda Miotto
Dear All I have had issues with both rpy and rpy2 when it comes to using a library that uses rJava. The error is below using rpy >>> r.library('GenePattern') Loading required package: rJava Traceback (most recent call last): File "", line 1, in rpy.RPy_RException: Error: package 'rJava' coul

[Rpy] Trying to build rpy2 on Windows 7

2010-10-05 Thread pat flaherty
Hi, Windows 7 Ultimate 64 bit VS 2008 R 2-11.1 (in PATH) python 2.6.5 I get the same whether I download the kit and build with python setup.py install or using easy_install (since the latter seems to simply invoke the former). *error:* d:\use\rpy2-2.1.5>python setup.py install running

Re: [Rpy] Result rpy2.rinterface.SexpVector

2010-10-05 Thread BB
> > Use the method .rx2() > http://rpy.sourceforge.net/rpy2/doc-2.2/html/vector.html?highlight=rx2#extracting-r-style > Hi, I used rx2(), passing the name of a column, or index, I seem to get back a vector of size 1. My test code along with data is here http://dl.dropbox.com/u/1570604/radon.zip

Re: [Rpy] Result rpy2.rinterface.SexpVector

2010-10-05 Thread Laurent Gautier
Use the method .rx2() http://rpy.sourceforge.net/rpy2/doc-2.2/html/vector.html?highlight=rx2#extracting-r-style There is a section on S4 objects in the documentation that happen to use lme4 as an example. http://rpy.sourceforge.net/rpy2/doc-2.2/html/robjects_oop.html?highlight=lme4#s4-objects