Hi,

In R, I can plot a 2 column matrix
> x=1:3
> y=1:3
> plot(x,y)
> plot(cbind(x,y))

But I'm wondering why I can not do so with rpy. In the following
python code, the last line does not work. Can somebody let me know
why?

import rpy

x = [1, 2, 3]
y = [1, 2, 3]
rpy.r.plot(x, y)

l = [ [1, 2, 3], [1, 2, 3] ]
rpy.r.plot(l[0], l[1])

rpy.r.plot(l)


Regards,
Peng

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to