Hi,
I Have installed the most recent Champ version 2.9.10
ChAMP.load gives me the error message:
Error in champ.load(directory = getwd(), method = "ChAMP", methValue = "B", :
could not find function "champ.load"
And library(ChAMP):
Error: package or namespace load failed for 'ChAMP' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/mvtnorm/libs/mvtnorm.so':
`maximal number of DLLs reached...
In addition: Warning messages:
1: replacing previous import 'plyr::summarise' by 'plotly::summarise' when loading 'ChAMP'
2: replacing previous import 'plyr::rename' by 'plotly::rename' when loading 'ChAMP'
3: replacing previous import 'plyr::arrange' by 'plotly::arrange' when loading 'ChAMP'
4: replacing previous import 'plyr::mutate' by 'plotly::mutate' when loading 'ChAMP'
Any ideas or help is appreciated.
Hello Martin,
Thank you for your response. I have the most recent R version 3.4.4.
How I can see the number of DLLs I use and how I can increase it?
Thanks!
Hello David:
You can reset your Renviron file and add one line: R_MAX_NUM_DLLS=512, then this error should be no more.
The Renviron file should be at /usr/local/lib64/R/3.4.4/lib64/R/etc (on my computer).
I am now fixing the package, deciding to cut down some packages. I have detected that if I remove some large packages like DMRcate or missMethyl. ChAMP's loading DLL numbers would decrease significantly.
Best
Yuan Tian
Usually one would set this on a user or project level, rather than at the system level. From ?.Renviron
Hello Yuan,
I can not locate Renviron file. I am using Mac.