Problema:
Al intentar instalar RcppGSL usando
install_rcppgsl.R
BiocManager::install("RcppGSL")ves el siguiente mensaje de error:
gsl_config_error.txt
checking for gcc option to accept ISO C89... none needed
checking for gsl-config... no
configure: error: gsl-config not found, is GSL installed?
ERROR: configuration failed for package ‘RcppGSL’
* removing ‘/usr/local/lib/R/site-library/RcppGSL’
The downloaded source packages are in
‘/tmp/RtmpqSzFab/downloaded_packages’
Warning message:
In .inet_warning(msg) :
installation of package ‘RcppGSL’ had non-zero exit statusSolución
Necesitas instalar las cabeceras de desarrollo de libgsl2 las cuales incluyen el ejecutable gsl-config.
En Ubuntu, puedes instalarlo usando
install_gsl_deps.sh
sudo apt -y install libgsl2-dev
Echa un vistazo a artículos similares por categoría:
R
Si este artículo te ha ayudado, considera invitarme a un café o hacer una donación vía PayPal para apoyar la investigación y publicación de nuevos artículos en TechOverflow