On Wed, Jun 3, 2009 at 2:21 PM, Axel Kowald wrote:
>
>
>> rpy.set_default_mode(rpy.NO_CONVERSION)
>>
> Okay, that is working !
> Although I thought that r.is_matrix(r.as_matrix(erg)) should take care
> of that.
I can see why you tried this, but it doesn't do what you hoped for.
This is equivalent
> rpy.set_default_mode(rpy.NO_CONVERSION)
>
Okay, that is working !
Although I thought that r.is_matrix(r.as_matrix(erg)) should take care
of that.
Anyway, many thanks,
Axel
--
OpenSolaris 2009.06 is a cutting ed
On Wed, Jun 3, 2009 at 1:52 PM, Axel Kowald wrote:
>
> Hi everybody,
>
> I'm using rpy 1.0.3 and R 2.7.0 under win XP and I have a problem to
> produce an R matrix from python.
> Here I'm creating a matrix and then test if the created object is indeed
> a matrix. Unfortunately, I always get False
Hi everybody,
I'm using rpy 1.0.3 and R 2.7.0 under win XP and I have a problem to
produce an R matrix from python.
Here I'm creating a matrix and then test if the created object is indeed
a matrix. Unfortunately, I always get False :-(
>>> erg = r.matrix(0.0,nrow=2,ncol=3)
>>> erg
[[0.0, 0.0