Anyone can help with this? I have looked at previous answers but can't seem to be able to find something that works. I installed Rstudio via Anaconda Navigator, and in /anaconda3/bin the R file has
R_HOME_DIR=/Library/Frameworks/R.framework/Resources
but Rstudio did not launch. I had to install the R GUI app later, which does work perfectly, however now RStudio seems to find R there, which is strange because as far as I understand it should look in the anaconda bin directory. I attach below the error I get in the .rstudio-desktp log. Thanks in advance.
09 Oct 2019 14:23:05 [rdesktop] ERROR Unable to find R_HOME_DIR in /Applications/R.app/Contents/MacOS/R; LOGGED FROM: bool rstudio::core::r_util::<anonymous namespace>::getRHomeAndLibPath(const rstudio::core::FilePath &, const config_utils::Variables &, std::string *, std::string *, std::string *) /Users/ray/rsbuild/work/src/cpp/core/r_util/REnvironmentPosix.cpp:154
09 Oct 2019 14:23:16 [rdesktop] ERROR system error 60 (Operation timed out); OCCURRED AT: rstudio::core::Error rstudio::core::waitWithTimeout(const boost::function<WaitResult ()> &, int, int, int) /Users/ray/rsbuild/work/src/cpp/core/WaitUtils.cpp:63; LOGGED FROM: -[AppDelegate applicationDidFinishLaunching:] /Users/ray/rsbuild/work/src/cpp/desktop-mac/AppDelegate.mm:376