Closed yulaicui closed 3 years ago
Hello,
It is strange, maybe cdt
is looking at the wrong R executable. Could you execute :
import cdt
print(cdt.utils.R.Rpackages)
It might take some time, but it is testing the availability of all packages|
Best, Diviyan
Hello, It is strange, maybe
cdt
is looking at the wrong R executable. Could you execute :import cdt print(cdt.utils.R.Rpackages)
It might take some time, but it is testing the availability of all packages|
Best, Diviyan
Hi,
It says "module 'cdt.utils.R' has no attribute 'Rpackages'
Whoops, small typo, it's a capital P:
import cdt
print(cdt.utils.R.RPackages)
problem solved. I didn't install pcalg and kpcalg properly with BiocManager
Great, I'll close the issue!
The flowing image has a code snippet with the error:
I installed RCIT, pcalg, kpcalg, MASS, momentchi2, and ran the following code (from readme):
library(devtools) install_github("erictrobl/RCIT") library(RCIT) RCIT(rnorm(1000),rnorm(1000),rnorm(1000)) RCoT(rnorm(1000),rnorm(1000),rnorm(1000)) RCoT(rnorm(1000),rnorm(1000),matrix(rnorm(2000),1000,2)
My R packages are:
System: 64bit windows10 GPU: 0 Python: 3.8.8 R: 3.6.3 RTools:3.5
What might be the problem here?
Thanks!