Error: package or namespace load failed for ‘dplyr’ in dyn.load(file, DLLpath = DLLpath, ...)
See original GitHub issueHi, my OS is Pop!_OS 22.04 LTS and I downloaded radian via conda. I faced this error while importing R libraries. The problem is not just limited to dplyr.
Error: package or namespace load failed for ‘dplyr’ in dyn.load(file, DLLpath = DLLpath, …): unable to load shared object ‘/home/xxx/R/x86_64-pc-linux-gnu-library/4.1/dplyr/libs/dplyr.so’: /home/xxx/anaconda3/envs/sds/bin/…/lib/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found (required by /home/xxx/R/x86_64-pc-linux-gnu-library/4.1/dplyr/libs/dplyr.so)
I tried several solutions online, but none worked so far. I tried to reinstall R and reinstall the packages as well. Radian works as long as I am not using R libraries. R and RStudio also works fine.
Any idea what might be the issue?
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
rror: package or namespace load failed for 'dplyr' #5214
I have been using dplyr, but suddenly it stopped working, I re-started R and when loading library(dplyr) I get the following error: Error: ......
Read more >Error: package or namespace load failed for 'tidyverse' in dyn ...
I am having trouble loading the tidyverse library. ... Error: package or namespace load failed for 'tidyverse' in dyn.load(file, DLLpath = DLLpath, ....
Read more >R unable to load dplyr
1 Answer 1 · Never ever do sudo R . You want to write to /usr/local/lib/R/site-library and for that you can 1. ·...
Read more >Problems installing dplyr on Centos 8
Problems installing dplyr on Centos 8. 166 views ... Error in dyn.load(file, DLLpath = DLLpath, ...) : ... ERROR: lazy loading failed for...
Read more >Easily Install and Load the Tidyverse • tidyverse
The tidyverse is a set of packages that work in harmony because they share common data representations and API design. This package is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I may be having a similar issue on an MBP 13" late-2013. I get a similar error when using
radian
, but works with normalR
:I have my packages (e.g.,
tidyverse
) stored in a separate directory to that provided byR
so that I don’t have to reinstall when upgradingR
versions. I don’t see how this would impact it, since my understanding is thatradian
just wraps aroundR
anyway. Any suggestions on how I would fix this?I’ve just uninstalled
R
and reinstalled viabrew
and it seems to work now… However, my site library is not picked up onEmacs
and I get a similar error to that posted earlier. Also, when installingR
from CRAN again,R Studio
doesn’t find my user site library, nor does theR.app
orradian
.R
from CRAN works fine on theterminal
and inEmacs
.