天天看點

forge伺服器語言,R-Language(R語言或稱r-project)的安裝

R-Language(R語言或稱r-project)的安裝

釋出時間:2020-06-28 20:46:18

來源:51CTO

閱讀:1147

作者:tanzhenchao

1、R語言的簡介

R語言(r-project)是主要用于統計分析、繪圖的語言和操作環境。

2、配置yum源

2.1、安裝說明

由于編譯安裝相對繁瑣,故而安裝使用repoforge的源解決,免去編譯的麻煩。

2.2、安裝rpmforge源yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

注意:請根據實際的系統OS版本選取合适的YUM源。

2.3、rpmforge源的下載下傳

http://repoforge.org/use/

3、R-Project的安裝

3.1、查詢r-project相關包yum search r-project

顯示如下:Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

============================== Matched: r-project ==============================

R.x86_64 : Language for data analysis and graphics

R-devel.x86_64 : Header files, libraries and development documentation for R.

libRmath.x86_64 : standalone math library from the R project

libRmath-devel.x86_64 : standalone math library from the R project

3.2、安裝相關包yum -y install R R-devel libRmath libRmath-devel

--------------------------------------------

參閱資料:

https://www.r-project.org/

https://cran.r-project.org/src/base/R-3/

安裝方法:

https://www.rstudio.com/products/shiny/download-server/