Hopefully a simple question. I installed "RColorBrewer" as a package.
It works fine in R, but I can't invoke it properly in RPy.
In R, it's invoked as "brewer.xxx", but "r.brewer" is not found
by python.
It'd be nice if the examples had a library call (I think the faithful
one has two library ca
How I eventually got the build working (thanks mucho to Kjell
Konis who maintains the R port for MacPorts):
+ I had to make a small change to setup.py. In the elif
+ sys.platform=='darwin': block I added 'Rblas' to the libraries. That
+ is I changed libraries=['R'] to libraries=['R','Rblas']
John Owens yahoo.com> writes:
+ >>> palette = r.brewer.pal(3, "Greens")
+ Traceback (most recent call last):
+ File "", line 1, in ?
+ File "/opt/local/lib/python2.4/site-packages/rpy.py", line 286,
+ in __getattr__
+ return self.__getitem__(name)
+ File "/opt/local/lib/python2.