我在使用 RStudio 时确实遇到了问题。\n几天前它一直工作正常。然后它说我需要最新版本的 RTools。我尝试安装它,但不认为它成功。但是现在我无法在 R 中加载任何内容。\n启动 RStudio 时,我收到以下消息:
\n Error: package or namespace load failed for \xe2\x80\x98stats\xe2\x80\x99 in inDL(x, as.logical(local), as.logical(now), ...):\n unable to load shared object 'C:/Program Files/R/R-3.6.3/library/stats/libs/x64/stats.dll':\n LoadLibrary failure: The specified module could not be found.\n\nDuring startup - Warning message:\npackage \xe2\x80\x98stats\xe2\x80\x99 in options("defaultPackages") was not found \nError in inDL(x, as.logical(local), as.logical(now), ...) : \n unable to load shared object 'C:/Program Files/R/R-3.6.3/library/stats/libs/x64/stats.dll':\n LoadLibrary failure: The specified module could not be found.\n\nRun Code Online (Sandbox Code Playgroud)\n我已经找到了这个问题的解决方案,人们说删除 /Renviron 但我不知道这会让事情变得更加混乱。
\n以下是我在 R 中输入内容的一些结果: …