rpy2 安装
时间:2010-08-06 来源:liukaiyi
编译 R 时需要指定 --enable-R-shlib wget http://ftp.ctex.org/mirrors/CRAN/src/base/R-2/R-2.11.1.tar.gz ./configure --prefix=/usr/local/R/R-2.11.1 --with-gnu-ld --with-cairo --with-x --enable-R-shlib make && make install
下载 rpy2 需要指定 --r-home /usr/local/R/R-2.11.1/lib64/R/ wget http://pypi.python.org/packages/source/r/rpy2/rpy2-2.1.4.tar.gz#md5=cf4e0d80ba498a6d76f107531966478d
python setup.py build --r-home /usr/local/R/R-2.11.1/lib64/R/ install
相关阅读 更多 +