I have installed the latest R version: R version 4.4.1 (2024-06-14) -- "Race for Your Life" and latest RStudio app both dedicated for MacOS M3 however I am still encountering a problem. When I open RStudio I get:
dyld[2091]: terminating because inserted dylib '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' could not be loaded: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/nx/y3hpyj8d365_yq0s16bjtp8c0000gn/T/rstudio-fallback-library-path-171263807/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/nx/y3hpyj8d365_yq0s16bjtp8c0000gn/T/rstudio-fallback-library-path-171263807/libR.dylib' (no such file)
dyld[2091]: tried: '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/nx/y3hpyj8d365_yq0s16bjtp8c0000gn/T/rstudio-fallback-library-path-171263807/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/R.framework/Resources/lib/libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libR.dylib' (no such file), '/var/folders/nx/y3hpyj8d365_yq0s16bjtp8c0000gn/T/rstudio-fallback-library-path-171263807/libR.dylib' (no such file)
If it's any indicator what may be wrong I also encounter problem with
> install.packages("installr")
>library(installr)
>updateR()
getting error:
Error in command 'winDialog(type = "ok", message = message_text)':
could not find function 'winDialog'
Additionally: Warning message:
In command 'get.installed.R.folders()':
Could not find any R installation on your system. (You might have installed your R version on 'c:\R' without sub folders...
I have my R installed
~ % which R
/usr/local/bin/R