Statistical-Genetics issueshttps://gitlab.pasteur.fr/groups/statistical-genetics/-/issues2023-07-04T02:12:20+02:00https://gitlab.pasteur.fr/statistical-genetics/runCMS/-/issues/1Rpy2 and R path2023-07-04T02:12:20+02:00Hugues ASCHARDRpy2 and R pathAfter a fresh install of Rpy2, when launching Script2 you might get error messages that looks like this :
R[write to console]: Error: package or namespace load failed for ‘methods’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to ...After a fresh install of Rpy2, when launching Script2 you might get error messages that looks like this :
R[write to console]: Error: package or namespace load failed for ‘methods’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/mount/gensoft2/exe/R/3.5.0/lib64/R/library/methods/libs/methods.so':
libR.so: cannot open shared object file: No such file or directory
This can be solve by adding R to the path. In the above example that would be:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/mount/gensoft2/exe/R/3.5.0/lib64/R/lib/