On 1/05/2024, at 12:32 AM, Carl Witthoft <cellocgw at gmail.com> wrote:
Thanks, Peter! The funny thing is that I had kept R 4.2 around in the
Frameworks directory, but didn't expect a new installation of R4.4 to
choose that path for libs. I removed R4.2 , then reinstalled R4.4 and now
the correct libs are invoked. I guess some config macro file must have
remained in the list of startup items.
FWIW, after removing R4.2 but before reinstalling R4.4, I tried
'library(dplyr)' , which didn't crash but failed with the error msgs shown
here.
Error: package or namespace load failed for ?dplyr? in dyn.load(file,
DLLpath = DLLpath, ...):
unable to load shared object
'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/magrittr/libs/magrittr.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/magrittr/libs/magrittr.so,
0x0006): Library not loaded:
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib
Referenced from: <B6E9C258-16F0-31E8-AF63-50207542C35F>
/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/magrittr/libs/magrittr.so
Reason: tried:
'/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib' (no
such file),
'/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib'
(no such file),
'/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib' (no
such file), '/usr/local/lib/libR.dylib' (no such file),
'/usr/lib/libR.dylib' (no such file, not in dyld cac
regards,
Carl