R包没有更新

时间:2018-01-28 02:49:29

标签: r

我在电脑上创建了一个新用户。下载RStudio后,我注意到一些未更新的软件包。

这是更新软件包时的控制台。

install.packages(c("mvtnorm", "tufte"))

There are binary versions available but the source versions are later:
        binary source needs_compilation
mvtnorm  1.0-6  1.0-7              TRUE
tufte      0.2    0.3             FALSE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/mvtnorm_1.0-6.zip'
Content type 'application/zip' length 233316 bytes (227 KB)
downloaded 227 KB

package ‘mvtnorm’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\Home\AppData\Local\Temp\RtmpK2ibnW\downloaded_packages
installing the source package ‘tufte’

trying URL 'https://cran.rstudio.com/src/contrib/tufte_0.3.tar.gz'
Content type 'application/x-gzip' length 243288 bytes (237 KB)
downloaded 237 KB

"B:\Program" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Warning in install.packages :
  running command '"B:/Program Files/R/R-3.4.2/bin/x64/R" CMD INSTALL -l "B:\Program Files\R\R-3.4.2\library" C:\Users\Home\AppData\Local\Temp\RtmpK2ibnW/downloaded_packages/tufte_0.3.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘tufte’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\Home\AppData\Local\Temp\RtmpK2ibnW\downloaded_packages’

它不会更新软件包。

0 个答案:

没有答案