r-causal
r-causal copied to clipboard
Installation issue: Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
I am trying to run the command
tetradrunner <- tetradrunner(algoId = 'fges',df = charity,scoreId = 'fisher-z',
dataType = 'continuous',alpha=0.1,faithfulnessAssumed=TRUE,maxDegree=-1,verbose=TRUE,
priorKnowledge = prior)
after installing rcausal as directed here:
https://github.com/bd2kccd/r-causal
But I keep getting this error:
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalAccessException: class RJavaTools cannot access a member of class java.util.Collections$UnmodifiableCollection (in module java.base) with modifiers "public"
I have also tried installing py-causal and that gave me errors too. Has anyone gotten these packages to work correctly on R or python?