I am trying to use barplot but everytime I try to pass a list as an
argument I get the following error: [code]
>>> barplot([1])
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python26\lib\site-packages\rpy2\robjects\__init__.py", line 423,
in __call__
res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error in -0.01 * height : non-numeric argument to binary
operator [/code]
Can someone tell me what I am doing wrong? I tried the function directly in
R and it is working.
Thank you in advance,
Bruno
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list