marco hofmann wrote:
> Hi there,
> I'm not familiar with R.. and use RPy to use the graphical features of R
> with Python.
>
> ...
>  >>> rpy.r.image(x,y,z,axes=FALSE)
>
> Traceback (most recent call last):
>    File "<pyshell#8>", line 1, in <module>
>      rpy.r.image(x,y,f,axes=FALSE)
> NameError: name 'FALSE' is not defined
>
> rpy.r.image(x,y,z) does only work without additional arguments. Does
> anyone know how I can code that in Python?

The problem is much simpler, FALSE is not defined in python (it is in
R).  You just need to use False instead (or zero). Try this:

rpy.r.image(x,y,z,axes=False)

Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to