简体   繁体   English

无法更改RStudio中的R版本

[英]Cannot Change the Version of R in RStudio

My RStudio (V 0.99.491) is inept to change the R Version. 我的RStudio(V 0.99.491)无法改变R版本。 I act in the ordinary way through Global Options --> R-Version . 我通过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 . 可以正常工作的R的初始版本是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. 我试图卸载RStudio,并再次安装它,但这没有帮助解决问题。

I have had the same problem. 我曾经也有过一样的问题。 Using my user account RStudio hangs up trying to change the version. 使用我的用户帐户RStudio挂起试图更改版本。 All other accounts work fine. 所有其他帐户工作正常。

I have located the problem in the folder C:\\Users\\myaccount\\AppData\\Roaming\\RStudio\\ and renamed this folder. 我已将问题定位在文件夹C:\\ Users \\ myaccount \\ AppData \\ Roaming \\ RStudio \\中并重命名此文件夹。 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. 我假设问题是文件“desktop.ini.lock”,因为在生成的新文件夹RStudio中,此文件丢失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM