Problema:
Ao tentar instalar RcppGSL usando
install_rcppgsl.R
BiocManager::install("RcppGSL")você vê a seguinte mensagem de erro:
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 statusSolução
Você precisa instalar os headers de desenvolvimento libgsl2 que incluem o executável gsl-config.
No Ubuntu, você pode instalá-lo usando
install_gsl_deps.sh
sudo apt -y install libgsl2-dev
Check out similar posts by category:
R
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow