2017-09-19 100 views
1

有人能指出我朝着正确的方向,我现在用的是插入符包,我试图运行一个caretTheme但它一直返回错误:错误):找不到功能“caretTheme”

Error in caretTheme() : could not find function "caretTheme" 

我试图install.packages(“caretTheme”),并收到错误

"Warning in install.packages : 
    package ‘caretTheme’ is not available (for R version 3.4.1 Patched)" 

我已搜查GitHub上并不能找到那里列出的包还是我能够找到它onlinee到使用暴力破解安装devtools ::

你能找到可供下载的软件包吗?

回答

0

尝试安装发育版本:

devtools::install_github("topepo/caret/pkg/caret") 

library(caret) 
exists("caretTheme") 

[1] TRUE 

sessionInfo()$otherPkgs$caret$Version 

"6.0-77" 
+0

这似乎工作,谢谢! – user113156