升级到 R 2.15.2 无法加载 stats 包 [英] Upgrading to R 2.15.2 can't load stats package

查看:52
本文介绍了升级到 R 2.15.2 无法加载 stats 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 Ubuntu 12.04.今天终于从 2.12 升级到 2.15.2,当我启动 R 时出现此错误.

Running Ubuntu 12.04. finally upgraded from 2.12 to 2.15.2 today and when I start R I get this error.

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/lib/R/library/stats/libs/stats.so':
  /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv
During startup - Warning message:
package ‘stats’ in options("defaultPackages") was not found

$ dpkg -l | grep "blas\|atlas"
ii  libatlas3gf-base                               3.8.4-3build1                                 Automatically Tuned Linear Algebra Software, generic shared
ii  libblas-dev                                    1.2.20110419-2ubuntu1                         Basic Linear Algebra Subroutines 3, static library
ii  libblas3gf                                     1.2.20110419-2ubuntu1                         Basic Linear Algebra Reference implementations, shared library
ii  libopenblas-base                               0.1alpha2.2-3                                 Optimized BLAS (linear algebra) library based on GotoBLAS2
ii  libopenblas-dev                                0.1alpha2.2-3                                 Optimized BLAS (linear algebra) library based on GotoBLAS2

还有其他人遇到过这个问题或知道如何解决吗?

Anyone else have this problem or know how to fix?

推荐答案

你应该卸载 libopenblas-base

查看更多信息:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638236

在我的盒子上:

$ dpkg -l | grep "blas\|atlas"
ii  libatlas-dev                                   3.8.4-3build1                           Automatically Tuned Linear Algebra Software, C header files
ii  libatlas3gf-base                               3.8.4-3build1                           Automatically Tuned Linear Algebra Software, generic shared
ii  libblas-dev                                    1.2.20110419-2ubuntu1                   Basic Linear Algebra Subroutines 3, static library
ii  libblas3gf                                     1.2.20110419-2ubuntu1                   Basic Linear Algebra Reference implementations, shared library
ii  liblastfm0                                     0.4.0~really0.3.3-0ubuntu1              The Last.fm web services library

这篇关于升级到 R 2.15.2 无法加载 stats 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆