Hello everybody,
i m trying to use web2py with the rpy2 package. Everything is alright
and I can use rpy2 its really pretty [http://rpy.sourceforge.net/
rpy2.html] and i can use it also without problems in web2py.
Now I want to add the package gplot because I need to plot Cofidence
Intervals. I installed the package and everything was fine. I m able
to use gplots with rpy2 in python. here is a little example:
import rpy2.robjects as robjects
robjects.r.library("gplots")
r = robjects.r
x = 1
y =2
r.plotCI(x, y)
works fine. Rpy2 works also fine with web2py BUT if I want to use the
gplots library which was additonaly installed on my ubuntu pc web2py
cant find the gplots package and i dont know why!?!?!
I got this error message:
File "/usr/lib/python2.6/dist-packages/rpy2/robjects/functions.py",
line 83, in __call__
return super(SignatureTranslatedFunction, self).__call__(*args,
**kwargs)
File "/usr/lib/python2.6/dist-packages/rpy2/robjects/functions.py",
line 35, in __call__
res = super(Function, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error in function (package, help, pos = 2, lib.loc =
NULL, character.only = FALSE, :
there is no package called 'gplots'
I would be glab about help, thank you, jonas