'Object not found' error when loading party package in R

寵の児 提交于 2019-12-18 09:00:09

问题


I'm trying to load the party package in R. I have all the relevant dependencies installed, but when I type library(party), I get the error:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : object 'vI' not found
Error: package or namespace load failed for ‘party’

I've never seen an error like this when loading a package before, and I'm really at a loss. Any help would be greatly appreciated.


回答1:


Sys.getenv("vI_HOME")

if(Sys.getenv("vI_HOME")!="")    Sys.setenv(vI_HOME="")

library("party")



回答2:


Please install party package separately. So use:

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


来源:https://stackoverflow.com/questions/23958161/object-not-found-error-when-loading-party-package-in-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!