我一直在尝试使用git存储库,而我的R 3.6.3一直给我错误消息。我试过重新安装R和stats软件包,安装Rtools,从其他客户端的R文件夹复制stats目录,但似乎没有任何作用。在我的软件包中仍然可以找到stats软件包,但是R一直无法加载.dll文件。
我得到的确切错误是:
Error message: 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-3.6.3/library/stats/libs/x64/stats.dll': LoadLibrary failure: The specified module could not be found. During startup - 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-3.6.3/library/stats/libs/x64/stats.dll':