當前位置:學問谷 >

生活範例 >休閒雜談 >

Centos6下安裝R語言教程説明

Centos6下安裝R語言教程説明

R語言是主要用於統計分析、繪圖的`語言和操作環境。

Centos6下安裝R語言教程説明

網站:

Windows下面有直接的安裝包,直接下載安裝很方便,但是對於剛出的CentOS6.0上不能直接通過yum 安裝R,需要自己編譯。

下載頁面:

在編譯R之前,需要通過yum安裝以下幾個程序:

#yum install gcc-gfortran #否則報”configure: error: No F77 compiler found”錯誤

#yum install gcc gcc-c++ #否則報”configure: error: C++ preprocessor “/lib/cpp” fails sanity check”錯誤

#yum install readline-devel #否則報”?with-readline=yes (default) and headers/libs are not available”錯誤

#yum install libXt-devel #否則報”configure: error: ?with-x=yes (default) and X11 headers/libs are not available”錯誤

然後下載源代碼,編譯

#cd

#wget

#tar zxvf

#cd R-2.13.1

#./configure

#make

#make install

即可完成編譯安裝。

標籤: Centos6 安裝 語言
  • 文章版權屬於文章作者所有,轉載請註明 https://xuewengu.com/flsh/xiuxian/l601op.html