Hi,
I need to use ggplot2 package for plotting my results. I could use it when I
just work with R but when I import it in my python program, I got this
message:
>>> import rpy2.robjects.lib.ggplot2 as ggplot2
Loading required package: ggplot2
Loading required package: proto
Loading required package: grid
Loading required package: reshape
Loading required package: digest
Error in eval(expr, envir, enclos) : could not find function "proto"
In addition: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'proto'
2: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'reshape'
3: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'digest'
Error : unable to load R code in package 'ggplot2'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/usr/local/lib/python2.6/dist-packages/rpy2/robjects/lib/ggplot2.py", line
10, in <module>
ggplot2 = importr('ggplot2')
File "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/packages.py",
line 82, in importr
raise LibraryError("The R package %s could not be imported" %name)
rpy2.robjects.packages.LibraryError: The R package ggplot2 could not be
imported
How could I manage to solve the problem?
Cheers,
Zahra.
_______________________________________________
-----------------------------------------------
Zahra Sheikhbahaee
Argelander-Institut fuer Astronomie (AIfA)
University of Bonn
Auf dem Huegel 71, D-53121 Bonn, Germany
______________________________________________
-----------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list