r - 为什么我无法将我的包加载到 R 中,即使它们已安装?
问题描述
我想我在加载我的库时不小心改变了我的路径。我知道我的软件包已安装,但是当我执行 library() 函数时,我收到以下错误消息。
> library(dplyr)
**Error: package or namespace load failed for ‘dplyr’ in inDL(x, as.logical(local), as.logical(now), ...)
unable to load shared object 'C:/Program Files/R/R-3.6.2/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.
In addition: Warning message:
package ‘dplyr’ was built under R version 3.6.3**
And when I first open R, this is what it looks like
**R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
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.2/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.2/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.**
我无法执行任何我知道应该有效的先前分析。对此问题的任何帮助将不胜感激。
解决方案
推荐阅读
- core-data - 在 SwiftUI 中使用 popOver 实现 CoreData
- amazon-web-services - xray 中的 AWS::LAMBDA 和 AWS::LAMBDA::FUNCTION 有什么区别?
- html - 放置滚动条时css表未对齐第二列
- amazon-web-services - 如果双方 VPC CIDR 范围相同,则 VPC 对等?
- java - 检查嵌套 JSON 中是否存在列
- php - 从锚链接中删除最后一个逗号?
- reactjs - 作为集成测试的一部分,如何在组件中模拟 const 方法?
- firebase - 检查数组中的引用 - Firestore 安全规则
- java - Spring集成Kafka MessaheChannel Thread?
- angular - ionic.ps1 无法加载,因为在此系统上禁用了运行脚本