Starting R studio after installation on MacOS

Error Information: Just get an error screen and then R studio closes.

Description of issue -
Using R script: /Library/Frameworks/R.framework/Versions/3.5/Resources/bin/R

Attempting to launch R session...







26 Mar 2019 13:47:52 [rdesktop] ERROR system error 13 (Permission denied) [path=/Users/DrAndrewMorris/.rstudio-desktop, target-dir=]; OCCURRED AT: rstudio::core::Error rstudio::core::FilePath::createDirectory(const std::string &) const /Users/rstudio/rstudio/src/cpp/core/FilePath.cpp:846; LOGGED FROM: rstudio::core::FilePath rstudio::core::system::userSettingsPath(const rstudio::core::FilePath &, const std::string &) /Users/rstudio/rstudio/src/cpp/core/system/PosixSystem.cpp:486

Attempted steps taken to fix - None ... don't even know where to start

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:
  • Output your diagnostics report (if possible):

From RStudio Desktop Will Not Start on

My bad. Latest R and R studio desktop version. MacOS Sierra 10.12.6

It appears RStudio doesn't have permissions to create the .rstudio-desktop folder in your home directory. You could try something like:

sudo chown $(whoami) /Users/$(whoami)

You might also want to confirm permissions on your home folder with:

stat -l /Users/$(whoami)

Thank you. I have done this. It appears to have worked.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.