Hi,
After updating R and Rstudio, I copy the whole R4.1 library to the R4.3 library.
And now I cannot load any packages, for example:
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.3-arm64/Resources/library/glue/libs/glue.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/glue/libs/glue.so, 0x0006): tried: '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/glue/libs/glue.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
I am confused as I am a medical student without complete programming skills.
Got no idea what should I do next?