3

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.

Amanda
  • 422
  • 2
  • 6
  • 14
  • try ´update.packages(checkBuilt=TRUE)`. – EDi May 30 '14 at 17:16
  • Unfortunately, I'm using a controlled computer at work, so installing/updating packages using a remote repository doesn't seem to work. – Amanda May 30 '14 at 17:55
  • I've just hit this one myself, shortly after changing systems. I'm getting it when installing from a local package, but not when installing the same package from CRAN ... – Ben Bolker Jun 07 '14 at 21:44
  • as it turns out this was an obscure VirtualBox issue (went away when I moved my R library/package tree from a symbolic-linked directory to one within the native VirtualBox file system) – Ben Bolker Jun 08 '14 at 00:38

2 Answers2

1
Sys.getenv("vI_HOME")

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

library("party")
Tunaki
  • 132,869
  • 46
  • 340
  • 423
Wang dehua
  • 11
  • 1
0

Please install party package separately. So use:

install.packages("party", dependencies=TRUE) 
hd84335
  • 8,815
  • 5
  • 34
  • 45
  • While this might provide an answer to the question, some explanation is required. Please update the answer with some explanation of how and why this solution works. – Brett DeWoody Jan 06 '18 at 13:57