当前位置:网站首页>R和RStudio下载安装详细步骤
R和RStudio下载安装详细步骤
2022-06-23 09:55:00 【皮小孩ls】
相关文章:
r语言基础知识
r语言习题和参考答案
r语言数据分析案例
还有很多相关文章都在我的专栏里面:R语言专栏
本文介绍R和RStudio的下载安装(Windows系统),步骤十分详细(按照我截图的顺序来即可)。
下载地址:https://cran.r-project.org


下载完后就可以开始安装了

选择一个路径,我这里是默认的,没有改
可以不勾选32-bit Files(现在电脑应该都是64位了吧)


这里多勾选一个附加快捷方式。


到这里已经完成了R的安装,桌面上应该有快捷方式了。
现在双击它看看能不能使用。
窗口可以全屏,在控制台输入
seq(from=-2,to=6,by=2)
看看输出什么吧。
更多关于R语言的知识可以去看我的专栏:统计模拟与R语言
对于RStudio,可以选择不安装,因为我们上面已经安装了R,并且自带了GUI,虽然不是那么方便、美观,但是日常的学习应该是够了。
下面介绍RStudio的下载和安装,同样根据我的截图步骤一步步来即可。
官网地址:https://www.rstudio.com/
进入可能比较慢



下载完后就可以安装了。

所占空间还是比较大的,建议放在D盘。




下载完后找不到快捷方式的话,可以在最近添加的项目中找到RStudio,鼠标右击选择打开文件位置


再把这个快捷方式复制到桌面即可。

把源代码窗口放大,代码可以写在里面,也可以在控制台写。
在里面输入
a=seq(-2,6,by=2)
a
然后鼠标把他们全部选中,再点击Run就可以运行代码了。
控制台可以看到输出的结果。
可以发现RStudio的窗口更多了,右边可以显示变量,文件,画图,安装第三方包等等。
边栏推荐
- Liujinhai, architect of zhongang Mining: lithium battery opens up a Xintiandi for fluorine chemical industry
- Navagation navigation
- [ciscn2019 North China Day2 web1]hack world
- Alimentation des animaux de compagnie basée sur stm32
- Successful experience in postgraduate entrance examination for MTI master of English translation major of Beijing University of science and technology in 2023
- The usage of lambda of C
- High performance computing center nvme / nvme of nvme of overview
- MySQL optimistic lock and pessimistic lock
- The second Tencent light · public welfare innovation challenge was launched, and the three competition topics focused on the social value of sustainable development
- 太阳塔科技招聘PostgreSQL数据库工程师
猜你喜欢

2022 gdevops global agile operation and maintenance summit - essence playback of Guangzhou station (with PPT download)

AI系统前沿动态第38期:谷歌已放弃TensorFlow?;训练大模型的四种GPU并行策略;LLVM之父:模块化设计决定AI前途

Thin film interference data processing

Shengshihaotong enables high-quality development with industrial Digitalization

Developer, you may have some misunderstandings about cloud computing

Copilot免费时代结束!正式版67元/月,学生党和热门开源项目维护者可白嫖

Bugs encountered in Oracle

Gesture recognition based on mediapipe

RT-Thread 添加 msh 命令

有没有人,计划开源一套工业级“秒杀”系统架构?
随机推荐
Go string comparison
AI系统前沿动态第38期:谷歌已放弃TensorFlow?;训练大模型的四种GPU并行策略;LLVM之父:模块化设计决定AI前途
UEFI source code learning 4.1 - pcihostbridgedxe
Distributed common interview questions
太阳塔科技招聘PostgreSQL数据库工程师
Find minimum in rotated sorted array
Bugs encountered in Oracle
The second Tencent light · public welfare innovation challenge was launched, and the three competition topics focused on the social value of sustainable development
Comic | code review is driving me crazy!
SQL create a new field based on the comparison date
thymeleaf如何取url中请求参数值?
JSP getting started summary
2021-05-10方法重写多态注意事项
开发者,你对云计算可能有些误解
2022 gdevops global agile operation and maintenance summit - essence playback of Guangzhou station (with PPT download)
Successful experience in postgraduate entrance examination for MTI master of English translation major of Beijing University of science and technology in 2023
Jog sport mode
[GYCTF2020]Blacklist
构建信创产业生态,移动云立足全栈自主创新连放大招
给RepVGG填坑?其实是RepVGG2的RepOptimizer开源