Hi Yes, everything is OK from inside R, library loading, functions running. Only when calling r.library or r.source (from Python) with the library option is when I have this "problem"
I even made some try: exception: in python to ignore the error message, but sp library is never loaded. Sean Davis wrote: > > > On 10/3/07, *Jorge de Jesus* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi > > I am trying to load a R library called sp using the command: > r.library("sp") > > Then I get "RException error saying that it was not possible to > load....." > > Inside the R environment everything is ok. > > I have changed the Rprofile file to automatically load sp library when > starting a session, again inside the R environment everything ok > but whe > Rpy creates the r object I get: > > Loading Rpy version 2051 ..Error in dyn.load(x, as.logical(local), > as.logical(now)) : > unable to load shared library > '/usr/local/lib/R/library/sp/libs/sp.so': > /usr/local/lib/R/library/sp/libs/sp.so: undefined symbol: R_alloc > During startup - Warning message: > package sp in options("defaultPackages") was not found > > I googled several hours and found a post with a more or less similar > problem for another package, in that case it was caused when upgrading > from python 2.4 to 2.5 (I am using 2.5). > > What is going wrong ???? I have the impression that is something > related > to Rpy, I am using Rpy 1.0.0. RC3 could this be a bug related to this > release candidate ??? > > And the problem is only in this specific library all the rest have a > normal loading > > > This looks like an R problem. Can you load the "sp" library from > within R? > > Sean > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > -- Eng. Jorge Samuel Mendes de Jesus European Commission (EC) Joint Research Centre Directorate (DG JRC) Institute for Environment and Sustainability (IES) TP 441, Via Fermi 1 21020 Ispra (VA) Italy Phone: +39 0332 78 3536 Fax: +39 0332 78 5466 http://rem.jrc.cec.eu.int "The views expressed are purely those of the writer and may not in any circumstances be regarded as stating an official position of the European Commission" ------------------------------------------------------------------------- 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