Ernst O Ahlberg Helgee wrote:
> Hi!
> Im trying to get rpy to produce a levelplot using package lattice, but it 
> fails. I dont get error messages, just a r object or python dict.
> This is the code:
> from rpy import *
> import Numeric as N
> r.library('lattice')
> a = [[1,2,3],[4,5,6],[7,8,9]]
> A = N.array(a,N.Float)
> r.levelplot(A)
> 
> I use R 2.2.1 from last of 2005, but with recently updated pkgs
> python 2.4.3 enthought 1.0.0beta4
> 
> but I have also confirmed the problem under linux (similar conditions)
> 
> 
> so if you know how to solve this please give me a hint

You need to user the print() or rather print_() function around teh
lattice function.

Tim C

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to