R BayesVarSel on Ubuntu installation

后端 未结 2 932
盖世英雄少女心
盖世英雄少女心 2021-01-24 04:35

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

相关标签:
2条回答
  • 2021-01-24 05:07

    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.

    I installed libgsl with:

    sudo apt-get install libgsl0ldbl
    sudo apt-get install libgsl0-dev
    

    Now BayesVarSel compiles and loads without error.

    0 讨论(0)
  • 2021-01-24 05:16

    Do

     apt-cache search libgsl
    

    and everything should be a little clearer. Those packages have existed longer than either Ubuntu or Amazon EC2 so it really should not take superhuman effort to find them.

    And if apt-cache search libgsl is too difficult, try packages.ubuntu.com where you can search for the package containing the file in your error message (eg /usr/include/gsl/gsl_vector.h) and "Yes, Veronica" you can search for substrings too.

    0 讨论(0)
提交回复
热议问题