[R-SIG-Mac] Lion

Andreas Noack Jensen andreas.noack.jensen at econ.ku.dk
Mon Jul 25 19:39:18 CEST 2011


Simon Urbanek <simon.urbanek <at> r-project.org> writes:

> 
> Since I got a few private e-mails concerning Lion, this is just to say that 
nothing changed since the 
last
> Lion post here a while ago (you'll still have to open Quartz explicitly in 
command line R).
> R works out of the box and you have the choice of using the CRAN Fortran 
(/usr/local) or the Xcode 
4.1 add-on.
> 
> In addition, Lion users are encouraged to install R 2.13.1 from CRAN 
(or re-install if you upgraded 
from SL)
> since it is Lion-aware (yes, even though it was released before Lion ;)). It 
re-enables vecLib BLAS as it
> seems the Mac Pro issue has been fixed in Lion.
> 
> Cheers,
> Simon
> 

I actually seem to have a veclib problem. I have just upgraded to Lion from 
Snow Leopard on my MacBook Pro 15'', medio 2009 and done a fresh install of 
R 2.13.1 and the latest gfortran 4.2.3 from att.research. Unfortunately I am 
not able to make a reproducible example of the problem without my own package 
which is not on CRAN (yet). The problem is only present when I use vecLib and 
not when using the reference Blas (I also checked on Linux and Win and it 
worked fine). I had no problems under Snow Leopard. Here are the details: I 
install by R CMD INSTALL without errors but when I try to load the package by 
library(civecm) I get

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object 
'/Library/Frameworks/R.framework/Versions/2.13/Resources/library/civecm/libs/
	x86_64/civecm.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/civecm/
libs/x86_64/civecm.so, 6): Library not loaded: libRblas.dylib
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/civecm/libs/
x86_64/civecm.so
  Reason: image not found
Error: package/namespace load failed for 'civecm'

The civecm.so exists and is created from Fortran code using both BLAS and 
Lapack subroutines. Any help is appreciated and I hope I have included the 
relevant information.

Best regards

Andreas Noack Jensen
PhD Student
Department of Economics
University of Copenhagen



More information about the R-SIG-Mac mailing list