Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radian fails to load package while base R works without a problem #466

Open
nickhir opened this issue Feb 1, 2024 · 1 comment
Open

Comments

@nickhir
Copy link

nickhir commented Feb 1, 2024

I want to switch to radian, however, some of the packages that I use on a daily basis fail to load when trying it with radian. The interesting thing is, that they load without any problem when I use base R.
This is the error that occurs:

Error: package or namespace load failed for ‘GenomeInfoDb’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/R/x86_64-pc-linux-gnu-library/4.2/RCurl/libs/RCurl.so':
  /usr/local/software/archive/linux-scientific7-x86_64/gcc-9/gcc-9.3.0-qszxcci5frtw4aul3m44oarpvxzyrgpp/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /rds/user/hpc-work/software/micromamba/bin/../lib/./libicuuc.so.73)
Error: package ‘GenomeInfoDb’ could not be loaded

I checked and /home/R/x86_64-pc-linux-gnu-library/4.2/RCurl/libs/RCurl.so does exist.

This is the output of radian --version:

radian version: 0.6.9
r executable: /usr/local/R/4.2.2/lib64/R/bin/R
r version: 4.2.2
python executable: /rds/user/software/micromamba/bin/python3.9
python version: 3.9.18

The output of .libPaths() is the same for both radian and R:

[1] "/home/R/x86_64-pc-linux-gnu-library/4.2"  
[2] "/usr/local/R/4.2.2/lib64/R/library"

The output of Sys.getenv("PATH") is also the same for both radian and base R.

Manually specifying --r-binary and setting R_HOME did not change anything.

It seems to be related to issue #243, but I was unable fix that problem...

Thank you very much in advance for any help!

@nickhir
Copy link
Author

nickhir commented Feb 2, 2024

UPDATE:
I created a new micromamba env with (micromamba create -n radian_env radian) and then ran radian from this env and now everything works as intended!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant