为r3.0安装bigalgebra包。

时间:2022-07-15 19:40:37

I keep getting an error when I try to install the bigalgebra package.

当我试图安装bigalgebra包时,总是会出错。

'bigalgebra' is not available (for R version 3.0.1)

“bigalgebra”不可用(适用于R版本3.0.1)

I already have the bigmemory package installed (I had the same problem for this one, and I can't remember how I resolved it) . I tried to get the bigalgebra_0.8.1.tar.gz but I can't find it. Also, on R forge it isn't available (https://r-forge.r-project.org/R/?group_id=556) (failed to built). Did anyone have the same problem.

我已经安装了bigmemory包(我对这个也有同样的问题,我不记得我是怎么解决的)。我试着得到了比格拉布的0.8.1.tar。但是我找不到。另外,在R forge上它是不可用的(https://r-forge.r-project.org/R/?group_id=556)(未能构建)。有没有人有同样的问题。

Should I just install an older R version? Any help is much appreciated, thank you.

我应该安装一个旧的R版本吗?非常感谢您的帮助,谢谢。

1 个解决方案

#1


2  

Since it's currently not in Cran, Bioconductor, nor successfully building on R-Forge, you will have to build it yourself from source.

因为它现在不是在Cran,生物导体,也不是成功地在R-Forge上建造,你将不得不从源头自己建造它。

The source of the big memory project can be checked out via SVN via the following command I obtained from the group page on R-forge:

大内存项目的源代码可以通过SVN查询,我从R-forge上的group page获得如下命令:

svn checkout svn://svn.r-forge.r-project.org/svnroot/bigmemory/

This will create a directory called bigmemory. The bigalgebra package is found in bigmemory/pkg/bigalgebra.

这将创建一个名为bigmemory的目录。在bigmemory/pkg/bigalgebra中发现了bigalgebra包。

Before going any further, you will need both the BLAS and Boost libraries installed on your OS, otherwise installation will fail.

在继续之前,您将需要在OS上安装BLAS和Boost库,否则安装将失败。

From R you can then directly install the package from the directory:

然后你可以从R直接安装包从目录:

install.packages("bigmemory/pkg/bigalgebra/", repos=NULL, type="source")

I was successfully able to build and install it on R 3.0.0 on Mac OSX.

我成功地在Mac OSX上构建并安装了它。

#1


2  

Since it's currently not in Cran, Bioconductor, nor successfully building on R-Forge, you will have to build it yourself from source.

因为它现在不是在Cran,生物导体,也不是成功地在R-Forge上建造,你将不得不从源头自己建造它。

The source of the big memory project can be checked out via SVN via the following command I obtained from the group page on R-forge:

大内存项目的源代码可以通过SVN查询,我从R-forge上的group page获得如下命令:

svn checkout svn://svn.r-forge.r-project.org/svnroot/bigmemory/

This will create a directory called bigmemory. The bigalgebra package is found in bigmemory/pkg/bigalgebra.

这将创建一个名为bigmemory的目录。在bigmemory/pkg/bigalgebra中发现了bigalgebra包。

Before going any further, you will need both the BLAS and Boost libraries installed on your OS, otherwise installation will fail.

在继续之前,您将需要在OS上安装BLAS和Boost库,否则安装将失败。

From R you can then directly install the package from the directory:

然后你可以从R直接安装包从目录:

install.packages("bigmemory/pkg/bigalgebra/", repos=NULL, type="source")

I was successfully able to build and install it on R 3.0.0 on Mac OSX.

我成功地在Mac OSX上构建并安装了它。