These messages are generated by the R shared library as it attempts to load the fundimental R packages it needs. This usually means that your installation of R is lacking properly installed versions of these packages. Does R start up and run properly when run directly?
-G On Nov 2, 2007, at 3:56PM , Andrew Jones wrote: > When I try to import rpy I get the following messages: > > Python 2.4.4 (#9, Oct 30 2007, 15:13:19) > [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import rpy > RHOME= /usr/local/lib/R > RVERSION= 2.6.0 > RVER= 2060 > RUSER= /home/emu/ajones > Loading Rpy version 2060 ..Error in dyn.load(file, ...) : > unable to load shared library '/usr/local/lib/R/library/methods/ > libs/methods.so': > /usr/local/lib/R/library/methods/libs/methods.so: undefined > symbol: Rf_allocS4Object > Error in dyn.load(file, ...) : > unable to load shared library '/usr/local/lib/R/library/grDevices/ > libs/grDevices.so': > /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined > symbol: utf8locale > In addition: Warning message: > package "methods" in options("defaultPackages") was not found > Error in dyn.load (file, ...) : > unable to load shared library '/usr/local/lib/R/library/grDevices/ > libs/grDevices.so': > /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined > symbol: utf8locale > In addition: Warning message: > package grDevices in options("defaultPackages") was not found > Error in dyn.load(file, ...) : > unable to load shared library '/usr/local/lib/R/library/grDevices/ > libs/grDevices.so': > /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined > symbol: utf8locale > In addition: Warning message: > package graphics in options("defaultPackages") was not found > Error in dyn.load(file, ...) : > unable to load shared library '/usr/local/lib/R/library/methods/ > libs/methods.so': > /usr/local/lib/R/library/methods/libs/methods.so: undefined > symbol: Rf_allocS4Object > In addition: Warning message: > package stats in options("defaultPackages") was not found > During startup - Warning message: > package methods in options("defaultPackages") was not found > Done. > Creating the R object 'r' .. Done > > > I'm using R version 2.6.0 and rpy version 1.0RC3. I'm running > fedora core 5. I compiled R with the --enable-R-shlib --enable- > BLAS-shlib flags. I've tried removing R and rpy and recompiling > both into a fresh install. I've also checked to make sure there > wasn't an alternate version of R installed that would be confusing > things. Is there something I am doing wrong? Any help would be > appreciated. Thanks, > > Andrew > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > <mime-attachment.txt> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list