linux - DMwR linux 缺少软件包

标签 linux r

我有 linux Mint 17.1 Cinnamon 64 位,内核 3.13.0-37-generic,我必须将 DMwR 包安装到我的 R 中。当我尝试安装这个包时,我遇到了这个错误:

gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o KernSmooth.so blkest.o cp.o dgedi.o dgefa.o dgesl.o init.o linbin.o linbin2D.o locpoly.o rlbin.o sdiag.o sstdiag.o -lblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make: *** [KernSmooth.so] Error 1
ERROR: compilation failed for package ‘KernSmooth’
* removing ‘/home/benik/R/x86_64-pc-linux-gnu-library/3.1/KernSmooth’
Warning in install.packages :
  installation of package ‘KernSmooth’ had non-zero exit status
ERROR: dependency ‘KernSmooth’ is not available for package ‘gplots’
* removing ‘/home/benik/R/x86_64-pc-linux-gnu-library/3.1/gplots’
Warning in install.packages :
  installation of package ‘gplots’ had non-zero exit status
ERROR: dependency ‘gplots’ is not available for package ‘ROCR’
* removing ‘/home/benik/R/x86_64-pc-linux-gnu-library/3.1/ROCR’
Warning in install.packages :
  installation of package ‘ROCR’ had non-zero exit status
ERROR: dependency ‘ROCR’ is not available for package ‘DMwR’
* removing ‘/home/benik/R/x86_64-pc-linux-gnu-library/3.1/DMwR’
Warning in install.packages :
  installation of package ‘DMwR’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpozPYSg/downloaded_packages’

谷歌对这个问题完全没有答案。

最佳答案

ld 告诉您要安装哪个库时,为什么要谷歌 ;-) 为了能够链接,您通常需要包的 -dev 版本:

apt-get install libblas3-dev

关于linux - DMwR linux 缺少软件包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29536865/

相关文章:

html - 如何使用 rvest 收集此表中的所有 url?

linux - Bash ,根据带有数字和字符串的文件名列出文件

c++ - 在 Linux 上的 Qt 中获取应用程序图标 URL

java - 无法打开共享对象文件: No such file or directory error while run time

r - 在 R 脚本中创建包含每个问题选项的总百分比的报告

r - 使用操作按钮 Shiny 更新表格

python - 如何在我的ros系统中添加sensor_msgs.msg类型?

linux - "kernel preemption"和 "interrupt"之间有什么区别吗?

r - 累积回溯滚动连接

r - 如何标记对角矩阵中的行和列?