It was actually compiled as a shared library but I believe the problem was
that I had installed previously from the packages repository as well so I
got several versions installed. Even after removing rpy2 and R through the
software centre and uninstall my installation from source I could still use
R so there was another version installed as well which was causing
problems. After managing to remove all the possible packages I reinstalled
rpy2 from the packages and it did work. Thank you very much for the help
nonetheless.
Best,
Bruno
2011/11/17 Laurent Gautier <lgaut...@gmail.com>
> Let me guess: R was not compiled as a shared library.
> http://rpy.sourceforge.net/rpy2/doc-2.2/html/overview.html#req
>
> Try Dirk Eddelbuettel's debian packages.
> http://cran.r-project.org/bin/linux/ubuntu/README
> The latest rpy2 release has so far always be there within days.
>
>
> L.
>
>
>
>
> On 2011-11-14 16:57, Bruno Santos wrote:
>
> To whom it may concern,
>
> I had rpy2 installed but I had to perform a clean installation of
> Ubuntu. After that I installed R from the ubuntu software centre plus the
> rpy2 package. Nonetheless when running the from rpy2 import robjects I get
> the following error message:
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object
> '/usr/local/lib64/R/library/stats/libs/stats.so':
> libRblas.so: cannot open shared object file: No such file or directory
> During startup - Warning message:
> package ‘stats’ in options("defaultPackages") was not found
>
> when I try to locate libRblas.so I can see the file exists
> under /usr/local/lib64/R/lib/libRblas.so
>
> I tried installing from source as well as rpy2 but this didn't solve the
> problem either.
>
> Thank you very much in advance,
> Bruno Santos
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register nowhttp://p.sf.net/sfu/rsa-sfdev2dev1
>
>
>
> _______________________________________________
> rpy-list mailing
> listrpy-list@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/rpy-list
>
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list