A collection of Rfast functions for data analysis. Note 1: The vast majority of the functions accept matrices only, not data.frames. Note 2: Do not have matrices or vectors with have missing data (i.e NAs). We do no check about them and C++ internally transforms them into zeros (0), so you may get wrong results. Note 3: In general, make sure you give the correct input, in order to get the correct output. We do no checks and this is one of the many reasons we are fast.
139
stars
19
forks
source link
cannot find RcppZiggurat.so after using Rfast but RcppZiggurat is installed successfully #59
Hi, first, thank you for providing this extremely useful package! I have used several functions from Rfast in my own R package and it speeds things up quite a lot. However, I have encountered one problem when checking the build of my R package. When I run "R CMD check" to check my R package, I got this error:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/lib/R/site-library/RcppZiggurat/libs/RcppZiggurat.so':
libgsl.so.23: cannot open shared object file: No such file or directory
This error started to appear when I include Rfast in my package. If I remove Rfast, this error is gone. I further looked into this and found out that I do have RcppZiggurat.so on my local environment. However, it is not in "/usr/local/lib/R/site-library/" but in a different place (I install my R packages in a different path). I added that path to LD_LIBRARY_PATH but it didn't help. I was wondering if I could get some help from you on how to solve this problem? Thank you!
Hi, first, thank you for providing this extremely useful package! I have used several functions from Rfast in my own R package and it speeds things up quite a lot. However, I have encountered one problem when checking the build of my R package. When I run "R CMD check" to check my R package, I got this error:
Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/local/lib/R/site-library/RcppZiggurat/libs/RcppZiggurat.so': libgsl.so.23: cannot open shared object file: No such file or directory
This error started to appear when I include Rfast in my package. If I remove Rfast, this error is gone. I further looked into this and found out that I do have RcppZiggurat.so on my local environment. However, it is not in "/usr/local/lib/R/site-library/" but in a different place (I install my R packages in a different path). I added that path to LD_LIBRARY_PATH but it didn't help. I was wondering if I could get some help from you on how to solve this problem? Thank you!