报错如下:
* installing *source* package ‘gsl’ ...
** package ‘gsl’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gsl-config... no
configure: error: gsl-config not found, is GSL installed?
ERROR: configuration failed for package ‘gsl’
* removing ‘/usr/local/lib/R/site-library/gsl’
解决方案(全靠程序员之友)
在Ubuntu下使用系统管理员:
sudo apt install libgsl-dev