小编Sam*_*Lee的帖子

无法在R版本3.2.3中完全安装软件包("caret")

> require("caret")
  Loading required package: caret
  Loading required package: lattice
  Loading required package: ggplot2
  Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =      vI[[j]]) : 
   there is no package called ‘pbkrtest’
Run Code Online (Sandbox Code Playgroud)

所以我发现缺少"pbkrtest"然后我试图重新安装它.

> install.packages("pbkrtest")
 Installing package into ‘C:/Users/ADMIN/Documents/R/win-library/3.2’
 (as ‘lib’ is unspecified)

 There is a binary version available but the source version is
 later:
     binary source needs_compilation
 pbkrtest  0.4-2  0.4-3             FALSE

 installing the source package ‘pbkrtest’

trying URL 'https://rweb.crmda.ku.edu/cran/src/contrib/pbkrtest_0.4-  3.tar.gz'
Content type 'application/x-gzip' length 164415 bytes (160 KB)
downloaded 160 …
Run Code Online (Sandbox Code Playgroud)

r package

9
推荐指数
1
解决办法
9993
查看次数

标签 统计

package ×1

r ×1