RfastOfficial / Rfast

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

better instructions for installing GSL #41

Closed waynelapierre closed 3 years ago

waynelapierre commented 3 years ago

Is your feature request related to a problem? Please describe. When I installed Rfast on Fedora, the error message said GSL is missing. For most other R packages I worked with, typically they will show detailed platform-specific instructions on how to install the missing packages.

Describe the solution you'd like Just add something like: for fedora: sudo dnf install gsl-devel for debian: blabla.. etc.

ManosPapadakis95 commented 3 years ago

To be honest as I remember in Rfast we don't use GSL immediately. Rcpp is responsible for this. I mean the GSL is used for the mathematical operations by Rcpp and RcppArmadillo (I think). So maybe you should search in their sites if you are missing something from the Rcpp side. I had a similar problem once but it was Rcpp. After some research I found that R didn't install correctly the gsl because I was missing a command. Something like that. That happened 4 years ago. Even if you have install gsl and R can't find the libraries check if your path is set correctly.

waynelapierre commented 3 years ago

You are right. The issue is from the package RcppGSL.