David Degras
2013-Oct-21 03:18 UTC
[R] Conflict between Accelerate BLAS and package 'stats'
Hi All, After successfully setting up the Accelerate BLAS library via /cd /Library/Frameworks/R.framework/Resources/lib ln -sf /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib libRblas.dylib / I restarted R (version 3.0.1) and got the following error message: /Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/stats/libs/stats.so': dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/stats/libs/stats.so, 6): Symbol not found: _lsame_ Referenced from: /Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libRlapack.dylib Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib in /Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libRlapack.dylib During startup - Warning message: package 'stats' in options("defaultPackages") was not found / Can anybody help? Below is the system info for my iMac: /sysname "Darwin" release "10.8.0" version "Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386" machine "i386" / Thanks, David David Degras Department of Mathematical Sciences DePaul University -- View this message in context: http://r.789695.n4.nabble.com/Conflict-between-Accelerate-BLAS-and-package-stats-tp4678674.html Sent from the R help mailing list archive at Nabble.com.
Prof Brian Ripley
2013-Oct-21 07:54 UTC
[R] Conflict between Accelerate BLAS and package 'stats'
On 21/10/2013 04:18, David Degras wrote:> Hi All, > > After successfully setting up the Accelerate BLAS library via'UNsucessfully' ... This is a question for R-sig-MAC: see the posting guide, and you need to ask how to achieve whatever you are trying to do, rather than tell us how you broke your R. (My guess is that the advice you need is in the 'R Installation and Administration Manual'.)> > /cd /Library/Frameworks/R.framework/Resources/lib > ln -sf > /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib > libRblas.dylib > / > > I restarted R (version 3.0.1) and got the following error message: > > /Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object > '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/stats/libs/stats.so': > > dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/stats/libs/stats.so, > 6): Symbol not found: _lsame_ > Referenced from: > /Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libRlapack.dylib > Expected in: > /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib > in > /Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libRlapack.dylib > During startup - Warning message: > package 'stats' in options("defaultPackages") was not found / > > Can anybody help? > > Below is the system info for my iMac: > > /sysname "Darwin" > release "10.8.0" > version > "Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; > root:xnu-1504.15.3~1/RELEASE_I386" > machine "i386" > / > > Thanks, > David > > > David Degras > Department of Mathematical Sciences > DePaul University > > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Conflict-between-Accelerate-BLAS-and-package-stats-tp4678674.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595