> How do I get the matrix() function (or array for that matter) working 
> properly for me!

Hmm, this works perfectly for me:

>>> import numpy
>>> from rpy import r
>>> import numpy
>>> bars = numpy.array([[25,15,26,25,18],[45,32,28,12,45]])
>>> r.barplot(bars)
[0.69999999999999996, 1.8999999999999999, 3.0999999999999996,
4.2999999999999998, 5.5]

I'm using python 2.5.2, R 2.7, rpy 1.0.2, and numpy 1.2.1

Mark

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to