[R] Unable to load local library via GUI

Ben Bolker bbolker at gmail.com
Mon Oct 3 15:09:47 CEST 2011


Noel Faux <nfaux <at> unimelb.edu.au> writes:

> 
> Hi all,
> 
> Not sure if this is the best list, please point me to a more appropriate list
if necessary.
> 
> Running Mac OSX 10.7.1
> R version 2.13.1 Patched (2011-08-14 r56741)
> Copyright (C) 2011 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)


> However, when using the R64.app and try and load the [package]
>  within the GUI I am getting the following error:

> Error in dyn.load(file, DLLpath = DLLpath, ...) : 
>   unable to load shared object [snip]
> 
> dlopen([snip]): Library not loaded: libRblas.dylib
>   Referenced from:
/Library/Frameworks/R.framework/Versions/2.13/[...]/libmlalgs.so
>   Reason: image not found
> Error in library(libmlalgs) : .First.lib failed for 'libmlalgs'
> 
> I know the libmlalgs.so is in the right place and the permissions look OK:
> -rwxr-xr-x  1 root  admin  58384  3 Oct 14:30 libmlalgs.so
> 
> So I am stumped as to why the GUI is unable to read the file.
> Any pointers would very welcome. As I am a textmate user and it
> passes the code to the R64.app, I currently stuck with either
> command line or Rstudio (it's nice but is currently missing some key
> features textmate has)


 [snip snip snip]

  I'm not sure of the answer, but there has been a lot of discussion
of similar issues (showing up as problems loading libRblas.dylib) on
the R-sig-mac [r-sig-mac at r-project.org] mailing list.  I would search
through the archives there and then ask on that list if you can't find
a suitable answer.

  Ben Bolker



More information about the R-help mailing list