在Ubuntu上安装R BayesVarSel [英] R BayesVarSel on Ubuntu installation
问题描述
我试图在> ubuntu
12中的 12框中安装
。它适用于我的Windows 7机器( BayesVarSel
AWS EC2 R 2.15.1
)。
I'm trying to install the BayesVarSel
package on a ubuntu
12 box on AWS EC2
. It works fine on my windows 7 machine (R 2.15.1
).
我附上了截图错误消息。这似乎是GNU GSL库的一个问题。我找不到安装GSL的快捷方式(例如,sudo apt-get GSL等),所以我想看看其他人是否也遇到类似的问题。我对其他具有类似功能的软件包开放。
I've attached a screenshot of the error message. It appears to be an issue with the GNU GSL library. I couldn't find a quick way to install GSL (ie sudo apt-get GSL, etc.) so I wanted to see if others have had a similar issue. I'm open to other packages with similar functionality.
编辑:
我试过的其他一些东西没有运气:
A couple other things I've tried without luck :
推荐答案
我能够在VirtualBox中运行Ubuntu 12.04.1 LTS(桌面)时重新创建错误。
正如@Dirk Eddelbuettel所建议的, sudo apt-cache search libgsl
产生了一个有用的软件包列表。目前还不清楚为什么你的机器无法正常工作。
I was able to recreate the error with Ubuntu 12.04.1 LTS (desktop) running in VirtualBox.
As @Dirk Eddelbuettel suggested, sudo apt-cache search libgsl
produced a useful list of packages. It's not clear why that didn't work on your machine.
我安装了libgsl文件:
I installed libgsl with:
sudo apt-get install libgsl0ldbl
sudo apt-get install libgsl0-dev
现在 BayesVarSel
编译并加载没有错误。
Now BayesVarSel
compiles and loads without error.
这篇关于在Ubuntu上安装R BayesVarSel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!