Hi,
When I build rpy2.2.2 using the command "python setup.py build", I have got
some errors ,that is, AttributeError: 'NoneType' object has no attribute
'groups'. Please tell me how to solve this.
I use archlinux, the system information: Linux Archlinux 2.6.39-ARCH #1 SMP
PREEMPT Sat Jul 9 14
At 2011-08-01 13:19:23,"Laurent Gautier" wrote:
The setup script meets something unexpected regarding the R version.
What does "R --version" return ?
I check out the source code of R in recently svn repository, and compile by abs
script in archlinux.
The R version information:
R> version
ot;.
L.
On 2011-08-01 08:34, Peng Lian wrote:
At 2011-08-01 13:19:23,"Laurent Gautier" wrote:
The setup script meets something unexpected regarding the R version.
What does "R --version" return ?
I check out the source code of R in recently svn repository, and compile by abs
on. Until I fix it,
you have to either rely on R-2.13 (latest release) or hack setup.py yourself to
bypass the version check.
On 2011-08-01 09:38, Peng Lian wrote:
R --version
R Under development (unstable) (2011-07-27 r56513)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISB
Hi all,
I just compile the new rpy2-2.3.3 version. But i encounter a importerror when
*import rpy2.robjects as ro*.
The error message is:
---
ImportError Traceback (most recent call last)
in ()
Hi, all
When I import R library *foreign* using the following code:
In [12]: import rpy2.robjects as ro
In [13]: foreign_lib = ro.packages.importr('foreign')
An error message is shown:
LibraryError Traceback (most recent call last)
in ()
> 1 foreign_lib = ro.pac
base.max = SignatureTranslatedFunction(base.max, init_prm_translate={'na_rm':
'na.rm'})
data_series = robjects.IntVector( [1, 7, robjects.NA_Integer, 9, 2])
print(data_series)
[1] 1 7 NA 9 2
print(base.max(data_series, na_rm=True))
[1] 9
So it works
I'm new in RPy2, and i don't k