在R中安装了插入符号,但无法在库中使用

恶作剧

这是我得到的代码和错误消息:

> library(caret)
Error : object ‘semester’ is not exported by 'namespace:lubridate'
Error: package or namespace load failed for ‘caret’

我正在使用Mac。我也在PC上工作时使用了它,没有任何问题。

我也跑了sessionInfo()

> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] lattice_0.20-34    factoextra_1.0.5   FactoMineR_1.36    e1071_1.6-8       

[5] GGally_1.3.0       ggrepel_0.6.5      RColorBrewer_1.1-2 stringr_1.2.0     
 [9] tidyr_0.6.1        dplyr_0.7.3        data.table_1.10.4  ggplot2_2.2.1     

loaded via a namespace (and not attached):
 [1] reshape2_1.4.1       kernlab_0.9-25       splines_3.3.3       
 [4] colorspace_1.3-2     prodlim_1.6.1        survival_2.40-1     
 [7] rlang_0.1.2          ModelMetrics_1.1.0   glue_1.1.1          
 [10] bindrcpp_0.2         foreach_1.4.3        bindr_0.1           
 [13] plyr_1.8.4           lava_1.5             dimRed_0.1.0        
 [16] robustbase_0.92-7    timeDate_3012.100    munsell_0.4.3       
 [19] gtable_0.2.0         leaps_3.0            codetools_0.2-15    
 [22] class_7.3-14         DEoptimR_1.0-8       Rcpp_0.12.9         
 [25] scales_0.4.1         flashClust_1.01-2    ipred_0.9-6         
 [28] scatterplot3d_0.3-40 CVST_0.2-1           stringi_1.1.2       
 [31] RcppRoll_0.2.2       ddalpha_1.2.1        grid_3.3.3          
 [34] tools_3.3.3          magrittr_1.5         lazyeval_0.2.0      
 [37] tibble_1.3.4         cluster_2.0.5        DRR_0.0.2           
 [40] pkgconfig_2.0.1      MASS_7.3-45          Matrix_1.2-8        
 [43] lubridate_1.5.6      gower_0.1.2          assertthat_0.1      
 [46] reshape_0.8.6        iterators_1.0.8      R6_2.2.0            
 [49] rpart_4.1-10         nnet_7.3-12          nlme_3.1-131
N·哈穆德

您可能已经过时的依赖关系。尝试更新所有已安装的软件包。然后安装具有所有依赖项的“插入符”:
(install.packages("caret", dependencies = TRUE))
为我工作!

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

使用Pip在Python 3.8中成功安装了模块,但无法导入吗?

在OSX上安装了GNU grep,但无法使用

安装了laravel但无法查看项目

安装了PyOWM但无法识别?

R:仅在Windows 7上安装了R,但无法创建任何绘图

使用pip安装了Python软件包,但无法导入使用

已安装Ionic Framework,但无法在Ubuntu 16.04中使用

在R(v3.2.2)中安装ggplot2;说它已安装但无法找到/使用?

我在 UBUNTU 18.0.4 中安装了 php 5.3.24,但无法显示 info.php 页面

尽管我安装了它,但无法使用 docker-compose

已创建私有软件包并安装了pip,但无法使用python导入

我已经安装了Firefox 50.0.2,但无法通过Dash使用它

在R中使用SMOTE调试插入符号

无法在库中使用 cdkDropConnectedTo 属性

从源安装了Boost.Numpy但无法正常工作

安装了plex媒体服务器,但无法启动

我安装了熊猫但无法正常工作

代码:虽然安装了块,但无法检测到gfortran

尽管在 Anaconda 中成功安装了 scikit-image,但无法在 jupyter notebook 中运行 import scikit-image

Fit API可在debup.apk中使用,但无法从Play商店安装时使用

在 R 中使用插入符号逐步回归

在 R 中使用插入符号实现 K 个最近邻

自制pyenv ...尽管我已经安装了Python 3.8.3,但无法安装

在USB上安装了Ubuntu 15.1(完全安装),但无法启动

尽管我已经安装了 Pattern,但无法从“gensim.utils”导入名称“lemmatize”

我从源代码安装了 Node-12,但无法获取 nodejs --version

为我的适配器安装了驱动程序,但无法正常工作

RStudio发现安装了python pyenv,但无法运行Python进程

我安装了unity调整工具,但无法在破折号中找到它