I did this sequence: copy over all 4.4 packages and then selected "update all" from the R-gui menu. Since several CRAN packages (per initial posting) still failed, I guess there's something inside update.packages that doesn't get cleaned out.

Once I removed all the "updated" libraries and did a fresh install, things seem to be OK.
Thanks to P.D. and D. M. for your suggestions.

On 5/31/25 4:42 AM, peter dalgaard wrote:
Works fine here.

Did you do something with your packages after installing?

Reason that I ask: A number of people have been shooting themselves in the foot 
by copying old package directories over new ones - including the non-CRAN 
system packages that update.packages() can't fix.

Or, if you have packages in a separate non-versioned library, then you may need 
update.packages(checkBuilt=TRUE).

-pd

On 30 May 2025, at 23.00, Carl Witthoft <c...@witthoft.com> wrote:

I suspect this is something simple I forgot to update or delete, but:
iMac x86 recently upgraded to 15.5 Sequoia.

I installed R 4.5 from CRAN.
then tried to install the "gmp" library and:

Error: package or namespace load failed for ‘gmp’ in get(Info[i, 1], envir = 
env):
lazy-load database 
'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gmp/R/gmp.rdb'
 is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) :
  internal error 1 in R_decompress1 with libdeflate

Then,
library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’ in dyn.load(file, DLLpath 
= DLLpath, ...):
unable to load shared object 
'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/glue/libs/glue.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/glue/libs/glue.so,
 0x0006): Library not loaded: 
/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib
  Referenced from: <E900C54A-FB6D-371D-B50B-512EB8D2F868> 
/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/glue/libs/glue.so
  Reason: tried: 
'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib' 
(no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib'
 (no such file), 
'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib' 
(no such file), '/usr/local/lib/libR.dylib' (no such file), 
'/usr/lib/libR.dylib' (no such file, not in dy

So I need to clear something out that's pointing to the 4.4 paths.  But aged me 
forgets what that is.





--
Carl Witthoft
personal: c...@witthoft.com
The Witthoft Group, Consulting
https://witthoftgroup.weebly.com/

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


--
Carl Witthoft
personal: c...@witthoft.com
The Witthoft Group, Consulting
https://witthoftgroup.weebly.com/

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to