ubuntu上R语言安装gsl包

2019-07-30 15:44:57 浏览数 (1)

报错如下:

代码语言:javascript复制
* 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下使用系统管理员:

代码语言:javascript复制
sudo apt install libgsl-dev

0 人点赞