Error in install.packages : type ==“both” cannot be used with 'repos =NULL'

前提是你 提交于 2019-11-29 13:38:22

You can install packages from source or binaries. In the "Package Archives" section of the documentation you may read:

Package Source class_7.3-12.tar.gz

Windows Binary class_7.3-12.zip

(32- & 64-bit) Mac OS X 10.9 (Mavericks) class_7.3-12.tgz

When installing from binary (as it seems to be your case):

install.packages("class_7.3-12.zip", repos = NULL, type="binary")

Otherwise, when installing from source:

install.packages("class_7.3-12.tar.gz", repos = NULL, type="source")
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!