新聞中心
這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
創(chuàng)新互聯(lián)R語言教程:R語言 環(huán)境設(shè)置
本地環(huán)境設(shè)置
如果你愿意為本地設(shè)置r語言環(huán)境,你可以按照下面的步驟。

Windows安裝
去 R 語言下載的鏡像站點(diǎn)的列表下載
選擇版本進(jìn)行下載
點(diǎn)擊運(yùn)行
進(jìn)入安裝界面
一路默認(rèn),安裝完畢!
Linux安裝
r語言適用于多版本的Linux系統(tǒng)。
各版本Linux的各有不同。具體的安裝步驟在上述資源中有對(duì)應(yīng)的教程。但是,如果你是在趕時(shí)間,那么你可以用yum命令,如下所示的安裝指令
安裝R
$ yum install R
以上命令將安裝R編程的核心功能與標(biāo)準(zhǔn)包,額外的包需要另外安裝,而后你可以按如下提示啟動(dòng)R。
$ R
R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
>
現(xiàn)在,您可以在R語言提示符下使用install命令安裝所需的軟件包。 例如,以下命令將安裝為3D圖表所需的plotrix軟件包。
> install.packages("plotrix")
文章標(biāo)題:創(chuàng)新互聯(lián)R語言教程:R語言 環(huán)境設(shè)置
本文地址:http://m.fisionsoft.com.cn/article/cdjochc.html


咨詢
建站咨詢
