软件包“glmnet”中的R错误:错误支持foreach

时间:2017-12-17 16:23:48

标签: r rstudio

我有R版本3.4.3。我正在与glmnet一起开展学校项目 我已经尝试安装软件包并且没有收到任何错误代码,但是当我要求library(glmnet)时,我收到了这些错误。
我试图删除它,安装它,单独安装foreach:同样的问题!!

install.packages("glmnet", dependencies=TRUE)

Installing package into �C:/Users/freel_000/Documents/R/win-library/3.4�
(as �lib� is unspecified)
also installing the dependency �foreach�

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/foreach_1.4.4.zip'
Content type 'application/zip' length 388581 bytes (379 KB)
downloaded 379 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/glmnet_2.0-13.zip'
Content type 'application/zip' length 1769167 bytes (1.7 MB)
downloaded 1.7 MB

package ‘foreach’ successfully unpacked and MD5 sums checked
package ‘glmnet’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\freel_000\AppData\Local\Temp\Rtmpy4iKye\downloaded_packages`

0 个答案:

没有答案