Hi list,

i want to use R with Python and Cairo. I have the following problem:

####################
# Python
####################
>>> from rpy2 import robjects
>>> robjects.r('library(Cairo)')
Error in library(Cairo) : es gibt kein Paket 'Cairo'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
line 535, in __call__
    res = self.eval(p)
  File "/usr/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
line 422, in __call__
    res = super(RFunction, self).__call__(*new_args, **new_kwargs)
rinterface.RRuntimeError: Error in library(Cairo) : es gibt kein Paket
'Cairo'

####################
# R
####################
> library(Cairo)
> 



Can anybody help with this problem? My future plan is to use Python+R
+Django to produce nice graphs with R and display the graphs within a
website.


Cheers,

tom



------------------------------------------------------------------------------
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
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to