r-causal
r-causal copied to clipboard
Catastrophic error with r-causal javax.xml.documentbuilder
Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial
# note: this works, well, doesn't work, that is, it breaks with "real" (read: "truthy") data as well =>
> library(rcausal)
> a <- c(1,1,1,0,0,0)
> b <- c(1,1,1,1,0,0)
> c <- c(0,0,0,1,0,0)
> dat <- data.frame(a,b,c)
> fges.discrete(dat)
Datasets:
dat
Error in .jnew("edu/cmu/tetrad/search/Fges", score) :
java.lang.NoClassDefFoundError: Could not initialize class edu.cmu.tetrad.util.TetradLogger
> pcmax(dat)
Error in .jnew("edu/cmu/tetrad/search/IndTestFisherZ", tetradData, significance) :
javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
Seeing similar issue in Java API. Java versions: 9ea, 8u121, 8u111, 7, both oracle and openjdk. Not sure what has happened. 8/