I have just downloaded the latest Rstudio (1.4.1717) and I'm having trouble opening it. I can open it directly from the .dmg file, but if I drag to the Application folder I says Rstudio is damaged. I've downloaded the .dmg file multiple times, restarted the computer, used different wifi connections, it still does not work. I've recently updated R, conda, and installed jupyter and some other packages. I suspect it might be something PATH related.
If I try to open it from terminal with open -na Rstudio.app, it returns 'Unable to find applicatio named 'RStudio.app'.
It also did not help reseting Rstudio following the instructions here: https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State
When I run a diagnostic report, everything seems fine:
(base) MacBook-Pro-de-USER:~ USER$ /Applications/RStudio.app/Conten
ts/MacOS/RStudio --run-diagnostics
Using R script: /Library/Frameworks/R.framework/Versions/4.1/Resources/bin/R
Attempting to launch R session...
R_HOME=/Library/Frameworks/R.framework/Resources
R_DOC_DIR=/Library/Frameworks/R.framework/Resources/doc
R_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include
R_SHARE_DIR=/Library/Frameworks/R.framework/Resources/share
DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/R.framework/Resources/lib:/Users/USER/lib:/usr/local/lib:/usr/lib:::/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre/lib/server
PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/opt/icu4c/bin:/Users/USER/miniconda3/bin:/Users/USER/miniconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
HOME=/Users/USER
R session launched, attempting to connect on port 38588...
Connected to R session, attempting to initialize...
Successfully initialized R session.
Diagnostics report written to: /Users/USER/rstudio-diagnostics/diagnostics-report.txt
Please audit the report and remove any sensitive information before submitting.
When opening Rstudio from within the .dmg file, typing sessioninfor() returns:
sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.0 pbdZMQ_0.3-5 tools_4.1.0
I'm running:
mac os High Sierra 10.13.6
R 4.1.0
I appreciate any guidance to solve this.