Closed amnesicloud closed 2 years ago
Hello,
It's the R process that failed ( the file error you see comes from the python that tries to fetch the results from R, that do no exist since the script failed. However, the R Error seems cryptic... Do you have any more info?
hi,
what kind of info would you need? I'm using R 4.1.1, prior using cdt I installed RCIT / pcalg / kpcalg and their dependencies.
I was using a company's server (probably a docker), and I was using jupyter to run the code above. I'm not familiar with the docker thing, but I'm not able to execute sudo command in that environment, could the docker environment cause the path error?
before installing R 4.1.1, I installed R 3.4.4, then I found out some of the dependencies were not available for R 3.4, the I download R 4.1.1 and update all previous packages. (without uninstall R 3.4)
it seems there are categorical variables involved, and pc requires numerical variables. thanks, and sorry for taking your time.
hi,
I was running following script on my dataset(variable 'data'),
import networkx as nx from cdt.causality.graph import PC from cdt.data import load_dataset data, graph = load_dataset("sachs") obj = PC() output = obj.predict(data)
when this occurs:
R Python Error Output
[Errno 2] No such file or directory: '/tmp/cdt_pc_fcb4fbae-5fbf-4b63-9e37-8e92bdbe4e9b/result.csv'
RuntimeError Traceback (most recent call last)