r - 库中的错误(reshape2):没有名为“reshape2”的包
问题描述
虽然我安装了“reshape2”包,但当我输入library(reshape2)
. 另外,我在包列表中看不到包。我可以在存储包的目录中看到它。(例如C:/Program Files/R/R-3.5.1/library
:)但它没有在 RStudio 中显示为包,我不能使用它。我怎样才能正确安装它?
我.libPaths()
的是:
"C:/Users/batuh/Documents/R/win-library/3.5"
"C:/Program Files/R/R-3.5.1/library"
当我输入install.packages("reshape2")
时,它说:
package ‘reshape2’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘reshape2’
解决方案
如果您是第一次在 RStudio 中使用 install.packages("reshape2") 将起作用
推荐阅读
- line - 我想在 Vim 中只移动一行
- jquery - jQuery-UI:给 Dropped & Cloned div 预先存在的可拖动小部件
- python - 需要找到文件中出现频率最高的字符(A...Z)
- c# - 我们可以在创建 pdf 文件时使用 itextsharp 添加数字签名吗?
- c# - 作为 Windows 服务部署的 BackgroundService 无法完成长时间运行的工作
- json - 添加重量属性时,Snipcart 中的产品抓取“购物车确认”错误
- reactjs - res.status(404)后如何将json数据从后端(express.js)发送到前端(react)?
- php - Laravel 集合中最新外键的唯一标识符
- r - 如何将一个数据帧的列中的值与R中另一个数据帧的标题匹配
- android - Media pipe Android App上的横向方向。一旦将应用程序设置为横向模式,相机方向就会出错