R logo

官方网站:https://www.r-project.org/

官网下载:https://cran.r-project.org/

图形界面Rstudio: https://www.rstudio.com/

维基百科:https://en.wikipedia.org/wiki/R_(programming_language)

wikibook: https://en.wikibooks.org/wiki/R_Programming

R Journal:https://journal.r-project.org/

R Manuals:https://cran.r-project.org/manuals.html

R Packages: https://cran.r-project.org/web/packages/index.html

Rtools: https://cran.r-project.org/bin/windows/Rtools/

2024-02-29 发布 R 4.3.3

 

R国内翻译为R软件R语言,是一个自由、免费、源代码开放(GNU)的软件,它是一个用于统计分析和统计制图的优秀工具。

R软件(免费的开源软件)的前身是S语言S语言是美国贝尔实验室的Rick Becker,John Chambers和Allan Wilks于1976年开发的一种用来进行数据探索、统计分析、作图的解释型语言。新西兰奥克兰大学(Auckland University)大学的Robert GentlemanRoss Ihaka及其他志愿人员于1993年开发了一套软件来实现S语言,由于这两位学者名字的首字母都是R,所以该软件被命名为R软件。

R软件1995年成为一个开源系统(GNU),1997年R核心开发小组(the R Development Core Team)成立,并维护R代码至今。CRAN(Comprehensive R Archive Network,R综合典藏网)提供R软件的下载版、源代码和说明文件,也收录了各种用户撰写的软件包,全球有超过一百个CRAN镜像站(中国大陆地区也有多个镜像可供选择,https://cran.r-project.org/)。截至2024年2月29日,R软件的最新版本是4.3.3,约78.8兆。

国内的镜像网站有:

https://mirrors.tuna.tsinghua.edu.cn/CRAN/ TUNA Team, Tsinghua University 清华大学
http://mirrors.tuna.tsinghua.edu.cn/CRAN/ TUNA Team, Tsinghua University
https://mirrors.ustc.edu.cn/CRAN/ University of Science and Technology of China 中国科技大学
http://mirrors.ustc.edu.cn/CRAN/ University of Science and Technology of China
https://mirrors.eliteu.cn/CRAN/ Elite Education 英荔教育
https://mirror.lzu.edu.cn/CRAN/ Lanzhou University Open Source Society 兰州大学
http://mirror.lzu.edu.cn/CRAN/ Lanzhou University Open Source Society
https://mirrors.tongji.edu.cn/CRAN/ Tongji University 同济大学
  • R的思想是:它可以提供一些集成的统计工具,它提供各种数学计算、统计计算的函数,从而使使用者(用户)能灵活地进行数据分析,甚至创造出符合需要的新的统计计算方法。
  • 与其说R是一种统计软件,还不如说R是一种数学计算的环境。
  • R已经形成了完整的体系,可以用于数据分析、数据提取和转换、模型拟合、描述推断、预测、绘图以及报告输出。
  • R软件同时也是一种简便而强大的编程语言,可操纵数据的输入和输出,可实现分支、循环,用户可自定义功能。

      R软件的最大特点不是免费,而是开放源代码,R软件其实是一个开放的平台。全球用户参与R软件的研发,涌现了大量基于R平台的拓展功能包,集思广益、更新迅速:例如用于绘图及数据可视化分析的ggplot2包;用于绘制地图的ggmap包,用于生存分析的survival包;用于结构方程分析的sem包等。全世界各个学科领域的教授、研究生、工程师、程序员既是R软件的用户,同时也是开发者,这些软件包贡献者了解各个学科领域的特定需求,努力实践最新的研究成果,敏锐捕捉着未来的发展趋势,其专业程度和蓬勃活力是传统的商业软件难以企及的。

所以如果是windows 32位系统,只能安装R 4.1.3或更低的版本

R 4.1.3 windows版官网网址

https://cran.r-project.org/bin/windows/base/old/4.1.3/R-4.1.3-win.exe

R 4.1.3 windows版官网网址(兰州大学镜像)

https://mirror.lzu.edu.cn/CRAN/bin/windows/base/old/4.1.3/R-4.1.3-win.exe 

R 4.1.3 windows版官网网址(中国科技大学镜像)

https://mirrors.ustc.edu.cn/CRAN/bin/windows/base/old/4.1.3/R-4.1.3-win.exe 


R IDE

Rstudio

https://rstudio.com/products/rstudio/

Jupyter Notebook

https://www.practicaldatascience.org/html/jupyter_r_notebooks.html 

install.packages("IRkernel")

IRkernel::installspec()

nteract

https://nteract.io/kernels/r

install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()

Rcode

http://www.pgm-solutions.com/rcode/download

Tinn-R

https://tinn-r.org/en/

在线运行R的平台

https://www.tutorialspoint.com/execute_r_online.php

 


R软件的简要历史

 Robert Gentleman

Rober Gentleman

 

Ross Ihaka

Ross Ihaka

R is an implementation of the S programming language combined with lexical scoping semantics, inspired by Scheme.[1] S was created by John Chambers in 1976 while at Bell Labs. A commercial version of S was offered as S-PLUS starting in 1988.

Much of the code written for S-PLUS runs unaltered in R.[10]

In 1991 Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, began an alternative implementation of the basic S language, completely independent of S-PLUS, which they began publicizing in 1993.[11] It was named partly after the first names of the first two R authors and partly as a play on the name of S.[12] In 1995, Martin Maechler convinced Ihaka and Gentleman to make R free and open-source software under Version 2 of the GNU General Public License.[13][14] The R Core Team was formed in 1997 to further develop the language.[12] As of 2021, it consisted of Gentleman, Ihaka, and Maechler, plus Douglas BatesJohn ChambersPeter DalgaardKurt HornikTomas KaliberaMichael LawrenceFriedrich LeischUwe LiggesThomas LumleyMartin MorganPaul MurrellMartyn PlummerBrian RipleyDeepayan SarkarDuncan Temple LangLuke Tierney, and Simon UrbanekHeiner SchwarteGuido MasarottoStefano IacusSeth Falcon, and Duncan Murdoch were also formerly members.[15]

The first official release came in 1995.[11] The Comprehensive R Archive Network (CRAN) was officially announced 23 April 1997 with 3 mirrors and 12 contributed packages.[16] The first official "stable beta" version (v1.0) was released 29 February 2000.[17][18]


R软件在线学习资源

learning resources for R

R软件相关的网站

websites for R

R软件显示英文界面

R interface in English

 

 

2017年7月9日,R软件累计有11010个功能包可供下载使用,截至2022年12月6日R软件累计有18896个功能包(https://cran.r-project.org/web/packages/index.html)和(https://www.r-pkg.org/),大约以每个月120个的速度递增。

   

https://www.tiobe.com/tiobe-index/r/

tiobe index R2021March17

 

 官方统计了R package的下载量

Downloads (https://cranlogs.r-pkg.org/badges/mltools)

Downloads in last day (https://cranlogs.r-pkg.org/badges/last-day/mltools)

Grand total (https://cranlogs.r-pkg.org/badges/grand-total/mltools)

 

 David Robinson做的的这个可视化工具,可以查询每个package的下载量

https://ipub.com/dev-corner/apps/r-package-downloads/

pkg downloads statistics app

 

https://www.analyticsvidhya.com/wp-content/uploads/2016/07/DataAnalysis_R.pdf

列出了常用的数据分析packages

DataAnalysis R2016


 

Microsoft R Application Network: https://mran.microsoft.com/

Quick-R

https://www.statmethods.net/

R bloggers

https://www.r-bloggers.com/

Data Science Made simple

http://www.datasciencemadesimple.com/learn-r-what-is-r/

Data Camp

https://www.datacamp.com/home

Try R

http://tryr.codeschool.com/

Database using R

http://db.rstudio.com/

R for excel


https://www.rforexcelusers.com/