刚刚在笔记本电脑上安装了R和Rstudio,但在控制台选项卡中继续遇到此错误消息。我应该担心吗?
这里是错误消息:
Error: package or namespace load failed for ‘stats’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.0.0/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.
启动期间
- Warning message:
package ‘stats’ in options("defaultPackages") was not found
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/R/R-4.0.0/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.
以下变通办法对我有用。按照建议进行所有安装后,请尝试最后一步。“将您文档文件夹中的.Reviron文件的名称更改为其他名称,以使代码找不到该名称。”这是为rtools创建的。我将其重命名。Renvironx