当前位置:网站首页>R及RStudio下载安装教程(超详细)
R及RStudio下载安装教程(超详细)
2022-07-02 13:39:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
R 语言是为数学研究工作者设计的一种数学编程语言,主要用于统计分析、绘图、数据挖掘。
如果你是一个计算机程序的初学者并且急切地想了解计算机的通用编程,R 语言不是一个很理想的选择,可以选择 Python、C 或 Java。
R 语言与 C 语言都是贝尔实验室的研究成果,但两者有不同的侧重领域,R 语言是一种解释型的面向数学理论研究工作者的语言,而 C 语言是为计算机软件工程师设计的。
R 语言是解释运行的语言(与 C 语言的编译运行不同),它的执行速度比 C 语言慢得多,不利于优化。但它在语法层面提供了更加丰富的数据结构操作并且能够十分方便地输出文字和图形信息,所以它广泛应用于数学尤其是统计学领域。
R 语言官方网站:The Comprehensive R Archive Network
官方镜像站列表:CRAN – Mirrors
一、官网下载R安装包
下载地址为:Index of /bin 进入链接,如下图所示。根据自己的操作系统选择对应的链接,接下来我将以windows为例给大家展示安装过程。
接下来单击【windows】——>【base】——>【Download R 4.1.3 for Windows】,即可下载相应安装包。
单击base,进入下面页面:
单击进行下载
二、安装R
下载完R安装包(我下的安装包名称为:“R-4.1.3-win.exe”),之后双击开始安装。
选择中文(简体)
直接点击下一步
选择安装位置
也可以自己选择安装位置
安装组件
注意:这里使用的操作系统是 64 位的,但现在仍有少数的计算机使用的是 32 位的操作系统,如果你的操作系统是 32 位的,请在此步骤选择”32-bit Files“选项。(要想知道R语言的32位和64位区别请查看改博客:R的32位与64位的区别!_allinallinallin的博客-CSDN博客_r语言64位)
启动选项
选择附加任务
进行安装,并生成桌面快捷方式
打开R
双击打开R的原生IDE,如下图所示:
当我们在交互式的命令窗口输入以下代码:
print(“Hello, world”)
输出结果为:
“Hello, world”
三、官网下载RStudio安装包
Rstudio是R的一个集成开发环境,也就是IDE,常用于R编程社区。由于比较好用功能强大,所以用R语言都会进行安装。是由JJ Allaire公司在2011年成立,在RStudio桌面和RStudio服务器中使用,且在商业和开源版本也可使用。可以在global options里面选择你已安装的R语言版本,不需要打开R再打开Rstudio。
下载地址: RStudio – RStudio 进入下载页面后,可以发现有Desktop和Server两个版本,我们选择Desktop。
单击蓝色圆形图标,进入跳转到Desktop版本下载窗口,Desktop版本又分为两个版本:Open Source Edition(免费)和Commercial License(付费)。
初学者自己用的话可选择前者,单击【DOWNLOAD RSRUDIO DESKTOP】。
进入下载页面后,根据自己电脑的操作系统选择下载的版本
这里我选的是最新版本(根据电脑的配置和个人喜好),软件不是很大,很快就下载好了
四、安装RStudio
双击【RStudio-2022.02.0-443.exe】进行安装
选择安装位置
可自行更改自己的安装路径。这里我在D盘进行安装(我电脑C盘空间不太多了!!)。
正在安装
安装完成
IDE功能介绍
参考资料:
如果想了解更多,可参考以下资料
菜鸟教程:R 语言教程 | 菜鸟教程
RStudio的使用教程:R语言基础教程——第3章:RStudio的使用教程 – 知乎
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/147811.html原文链接:https://javaforall.cn
边栏推荐
- ROW_NUMBER()、RANK()、DENSE_RANK区别
- How to choose the right kubernetes storage plug-in? (09)
- DigiCert SSL证书支持中文域名申请吗?
- LeetCode 6. Z 字形变换 (N字形变换)
- What if the win11 app store cannot load the page? Win11 store cannot load page
- Yyds dry inventory method of deleting expired documents in batch
- 大厂面试总结大全
- Résumé de l'entrevue de Dachang Daquan
- What is normal distribution? What is the 28 law?
- 路由模式:hash和history模式
猜你喜欢

Bib | graph representation based on heterogeneous information network learning to predict drug disease association

Go zero micro service practical series (VIII. How to handle tens of thousands of order requests per second)

According to the atlas of data security products and services issued by the China Academy of information technology, meichuang technology has achieved full coverage of four major sectors

How to use stustr function in Oracle view

Some problems about MySQL installation

只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!

曆史上的今天:支付寶推出條碼支付;分時系統之父誕生;世界上第一支電視廣告...

外企高管、连续创业者、瑜伽和滑雪高手,持续迭代重构的程序人生
![L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])](/img/4c/ddf7f8085257d0eb8766dbec251345.png)
L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])

MySQL min() finds the minimum value under certain conditions, and there are multiple results
随机推荐
What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?
图书管理系统(山东农业大学课程设计)
AcWing 300. Task arrangement
Summary of monthly report | list of major events of moonbeam in June
Privacy computing technology innovation and industry practice seminar: Learning
头条 | 亚控科技产品入选中纺联《纺织服装行业数字化转型解决方案重点推广名录》
Thinking about absolute truth and relative truth
The median salary of TSMC's global employees is about 460000, and the CEO is about 8.99 million; Apple raised the price of iPhone in Japan; VIM 9.0 releases | geek headlines
618深度複盤:海爾智家的制勝方法論
go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)
July 1st gift: Yi Jingjie's "hundred day battle" ended perfectly, and the database of Guiyang bank was sealed in advance
流批一体在京东的探索与实践
Ranger (I) preliminary perception
Global and Chinese market of desktop hot melt equipment 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of oil analyzers 2022-2028: Research Report on technology, participants, trends, market size and share
john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])
Student course selection system (curriculum design of Shandong Agricultural University)
Analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed in the industry!
PWM controlled steering gear
小鹏P7雨天出事故安全气囊没有弹出 官方回应:撞击力度未达到弹出要求