My RStudio (V 0.99.491) is inept to change the R Version.
I act in the ordinary way through Global Options --> R-Version
. Afterwards it hangs and doesn't work or react any more. The initial version of R which works fine is R 3.1.0
. I have never had such a problem before. Maybe someone has faced with a similar problem.
I tried to uninstall RStudio, and install it again, but this hasn't help to fix the issue.
You can select different versions of R by selecting it from the drop down list at the top of the browser window. The drop down menu will allow you to select the version of R you want to use. When you switch versions, the system will ask if you want to save your workspace before restarting your session.
In the R terminal, type R. version . It's R. version .
The RStudio IDE requires R version 3.0.
No need to uninstall. You can download and install the new version of R Studio with no issues.
3 Solutions to update R on RStudio. Solution 1) Manually install (Recommended if you don't care about the old packages) The first method is to download a new version of R from R website > CRAN. Then restart your RStudio. The new R version will be loaded automatically.
RStudio and R cannot update on their own because some packages may not work after switching to the new version (You can still downgrade R version in RStudio if something went wrong though). After you install the new version, the previously installed packages will not go to next version. So it is required extra procedures to move the packages.
The way this occurs varies between platforms—this article covers how version selection is handled on each platform. On Windows, the RStudio IDE uses the system's current version of R by default.
I've installed the latest version of R (4.1.1) from source and it's located in /opt/R. The current version that is being used by RStudio is located in /usr/lib64/R (according to R.home () command).
I have had the same problem. Using my user account RStudio hangs up trying to change the version. All other accounts work fine.
I have located the problem in the folder C:\Users\myaccount\AppData\Roaming\RStudio\ and renamed this folder. After this everything worked fine.
I assume the problem was the file "desktop.ini.lock", because in the new folder RStudio generated, this file is missing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With