I recently installed the latest Anaconda (using the miniconda installer) on my Red Hat Enterprise Linux 8.3 system and used it to install RStudio 1.1.456 (the latest provided by Anaconda) in a virtual R environment. RStudio starts correctly (both from Anaconda Navigator and from the command line in the virtual environment I created), and I can run R commands, install/load packages and so on. It is using R 3.4.3.
The problem is this RStudio cannot successfully open RStudio project files (
*.Rproj). Here's what I usually do to open projects but it doesn't work:
- In the "Files" panel on the lower-right, navigate to the
*.Rprojfile I'd like to open and click it.
- Answer yes when the dialog asks me if I want to open the project.
- The RStudio window would restart which I think is normal when opening a project.
- The project is not loaded. I can tell because (a) the "Files" panel resets to my home directory instead of showing the directory of the project, (b) the working directoy is unchanged, (c) my project uses Git but it is not "detected" and Git-related options are now shown (even though they are shown when I open the same project on another machine running RStudio but not via Anaconda), (d) the "Close Project" item in the "File" menu is greyed out indicating no project has been opened. There doesn't seem to be any permissions issues with the
RProjor any other R files in the project.
Am I doing something wrong? How can I troubleshoot this problem so I can make full, normal use of RStudio project files? Thank you!