Re: [Rpy] Rpy2 with python 2.4

2011-09-18 Thread Laurent Gautier
On 2011-09-16 22:56, Thomas Kluyver wrote: On 16 September 2011 21:21, Hajas, Wayne > wrote: Is there an easy way to get RPY2 running under python 2.4? Perhaps there is an old installation file that I couldn't find. Try the different versions from so

Re: [Rpy] rpy 1.0.4 ?

2011-09-18 Thread Laurent Gautier
On 2011-09-15 12:27, Peter Cock wrote: > On Tue, Sep 13, 2011 at 7:23 PM, Laurent Gautier wrote: >> On 2011-09-13 18:48, Peter Cock wrote: >>> I then fell over what was a new problem for me (/usr/bin/ld: cannot >>> find -lRlapack), but has been reported for rpy2: >>> http://www.mail-archive.com/rp

[Rpy] AttributeError: 'module' object has no attribute 'globalenv'

2011-09-18 Thread David Montgomery
Hi, I am running ubuntu natty with python 2.7.] and rpy2. On my dev machine my code works. I have the below that adds arrays from a numpy matrix to create R arrays. for k,v in enumerate(self.attribute_list): robjects.globalenv[v] = robjects.IntVector(self.training_data[:,k]) When

Re: [Rpy] AttributeError: 'module' object has no attribute 'globalenv'

2011-09-18 Thread Laurent Gautier
When having differences between machines, consider checking the version numbers. import rpy2 print(rpy2.__version__). L. On 2011-09-19 06:19, David Montgomery wrote: > Hi, > > I am running ubuntu natty with python 2.7.] and rpy2. On my dev > machine my code works. I have the below that ad