On Fri, Apr 22, 2011 at 9:03 AM, Brent Pedersen wrote:
> On Fri, Apr 22, 2011 at 8:34 AM, Brent Pedersen wrote:
>> hi, I am getting some errors with the latest version of rpy2, any ideas?
>>
>>
>>
>> $ python rpy/tests.py
>> Error in sub("[[:blank:]]*(
On Fri, Apr 22, 2011 at 8:34 AM, Brent Pedersen wrote:
> hi, I am getting some errors with the latest version of rpy2, any ideas?
>
>
>
> $ python rpy/tests.py
> Error in sub("[[:blank:]]*([[:alnum:]]+)", "\\1", dp) :
> 7 arguments passed to .Interna
hi, I am getting some errors with the latest version of rpy2, any ideas?
$ python rpy/tests.py
Error in sub("[[:blank:]]*([[:alnum:]]+)", "\\1", dp) :
7 arguments passed to .Internal(sub) which requires 8
Traceback (most recent call last):
File "rpy/tests.py", line 3, in
import rpy2.rob
x latitude 2.6.35-27-generic-pae #48-Ubuntu SMP Tue Feb 22
21:46:58 UTC 2011 i686 GNU/Linux
$ hg branch; hg identify
version_2.2.x
97d788ba27f8+ (version_2.2.x) tip
On Tue, Mar 15, 2011 at 1:03 PM, Laurent Gautier wrote:
> On 3/15/11 5:45 PM, Brent Pedersen wrote:
>>
>> On Tue,
On Tue, Mar 15, 2011 at 9:40 AM, Laurent Gautier wrote:
> It can do either one of the two.
>
> http://rpy.sourceforge.net/rpy2/doc-dev/html/numpy.html?#low-level-interface
>
>
>
> L.
>
how about in this case?::
import numpy as np
import rpy2.robjects as robjects
import rpy2.robjects.numpy
hi, does numpy2ri make a copy of the numpy array data? or do they
share memory? it looks to me like they are sharing memory[1], but just
want to be sure.
thanks,
-brent
[1] https://bitbucket.org/lgautier/rpy2/src/eafb2022875b/rpy/rinterface/array.c