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

Error in installing ‘leiden’ package #19

Open
seedvestige opened this issue Feb 5, 2022 · 2 comments
Open

Error in installing ‘leiden’ package #19

seedvestige opened this issue Feb 5, 2022 · 2 comments

Comments

@seedvestige
Copy link

I use command "install.packages('leiden') " in R to install 'leiden' package but it showed error as below.

  • installing source package ‘leiden’ ...
    ** package ‘leiden’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    *** Error in `/home/LANCY/software/R/lib64/R/bin/exec/R': free(): invalid pointer: 0x0000000001bc4008 ***
    R_TESTS= '/home/LANCY/software/R/lib64/R/bin/R' --no-save --no-restore --no-echo 2>&1 < '/tmp/Rtmpw8PPLu/file798b3990b27f'
    ERROR: loading failed
  • removing ‘/home/LANCY/software/R/lib64/R/library/leiden’

R version is 4.1.2

Thank you so much for your help!

@Jincheng2009
Copy link

Jincheng2009 commented Feb 8, 2022

I am having the same error when install leiden, tried 3.7, 3.8, 3.9, all gave me same error, and I am using R v4.1.0 on linux, also tried solution from this ticket: #13, but still does not work.

Any help is greatly appreciated. Thank you.

@TomKellyGenetics
Copy link
Owner

Please note that all dependencies must be reinstalled to run on R 4.0.0, 4.1.0 or 4.2.0 after updating R. Perhaps this is the cause? How was the 64 bit version of R installed on your system?

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

3 participants