Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在尝试在 R 中安装 nnet 包时遇到问题。下载似乎没问题,但是当我加载库时它指出
命名空间“nnet”由“car”、“effects”导入,因此无法卸载 另外:警告信息: 包“nnet”是在 R 版本 3.2.5 下构建的 库(nnet)中的错误:无法卸载包 'nnet' 版本 7.3.11
命名空间“nnet”由“car”、“effects”导入,因此无法卸载
另外:警告信息:
包“nnet”是在 R 版本 3.2.5 下构建的
库(nnet)中的错误:无法卸载包 'nnet' 版本 7.3.11
我尝试阅读其他建议在汽车和效果上使用 remove.packages 的主题。但是我试过这个,我仍然无法安装
谢谢您的帮助
先试unloadNamespace('effects')后试library(nnet)。
unloadNamespace('effects')
library(nnet)