privefl / bigstatsr

R package for statistical tools with big matrices stored on disk.
https://privefl.github.io/bigstatsr/
179 stars 30 forks source link

Downloading bigstatsr not working on mac #146

Closed burtoand closed 2 years ago

burtoand commented 2 years ago

I have tried multiple ways to download bigstatsr to my R packages: (1) install.library (2) remotes::install_github("privefl/bigstatsr") (3) from Tools menu, installing from CRAN (4) from Tools menu, installing directly bigstatsr_1.5.6.tgz from package archive

All have resulted in some error similar to the one below: Error: package or namespace load failed for ‘bigstatsr’ in get(method, envir = envir): lazy-load database '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/bigstatsr/R/bigstatsr.rdb' is corrupt In addition: Warning message: In get(method, envir = envir) : internal error -3 in R_decompress1

privefl commented 2 years ago

Restart all R sessions, and try again.