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, 0.0], [0.0, 0.0, 0.0]]
 >>> r.is_matrix(erg)
False
 >>> r.is_matrix(r.as_matrix(erg))
False


Any idea what's wrong ??

Many thanks,

 Axel


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to