There is always a bug when I try to launch CAM in cdt. The code is here.
import networkx as nx
from cdt.causality.graph import CAM
from cdt.data import load_dataset
data, graph=load_dataset("sachs")
obj=CAM()
The error is File D:\anaconda\lib\site-packages\cdt\causality\graph\CAM.py:124 in init raise ImportError("R Package CAM is not available.")
ImportError: R Package CAM is not available.
Tried to install the CAM package in R and changed the rpath in Setting.py but no use.