本文介绍了错误:打包“ggplot2”在装入插入符号包时无法找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我安装插入符号。install.packages(caret,依赖关系= c(取决于,建议))
库(caret)
##加载所需包:lattice
##加载所需包:ggplot2
所以我解决了这个问题包摘要通过使用此代码安装脱字符号和我再次得到什么:
install.packages(caret,dep = TRUE)
库(插入符)
##加载所需包:lattice
##加载所需包:ggplot2
So I resolve the issue with the package digest by installing caret using this code and what do I get again:
install.packages("caret", dep="TRUE") library(caret) ## Loading required package: lattice ## Loading required package: ggplot2
How do I install caret successfully without this kind of errors, especially the ggplot2 error!
my R Version is R 3.2.2
解决方案
Thanks guys for the help. I did try install.packages("caret", dep="TRUE") which installed the package digest, then tried install.packages("ggplot") which installed ggplot with the dependency gtable but still had some missing packages. Did finally manage to load caret without any problems after installing the missing packages as prompted.
这篇关于错误:打包“ggplot2”在装入插入符号包时无法找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!