Error loading package MSnbase on MacOS
1
0
Entering edit mode
Vinicius • 0
@9fb6b1dc
Last seen 9 days ago
Brazil
library(MSnbase)
Error: package or namespace load failed for ‘MSnbase’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/preprocessCore/libs/preprocessCore.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/preprocessCore/libs/preprocessCore.so, 0x0006): Library not loaded: /opt/R/arm64/gfortran/lib/libgfortran.5.dylib
  Referenced from: <36F88879-3BFB-3718-9C6E-5231ABED8B20> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/preprocessCore/libs/preprocessCore.so
  Reason: tried: '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)

I installed xcms packaged, but that Error keep happening. Please, help me.

MSnbase • 98 views
ADD COMMENT
0
Entering edit mode

You need gfortran -- please see and apply https://mac.r-project.org/tools/

ADD REPLY
0
Entering edit mode
@laurent-gatto-5645
Last seen 4 days ago
Belgium

As pointed out by ATpoint, you seem to be missing gfortran.

The package at origin of the error is preprocessCore (which MSnbase depends on), so the first thing you could do is to try to (re-)install it.

ADD COMMENT

Login before adding your answer.

Traffic: 598 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6