本文首发于“生信大碗”公众号,转载请注明出处
哈喽!各位小伙伴们,今天给大家分享的是数据分析工具软件R和RStudio的下载安装,话不多说,快来学起来吧!
1.我们先来了解一下R什么?
R 是一个用于统计计算和统计制图的工具,它是自由的开源软件, 并同时提供 Windows、Mac OS X 和 Linux 系统的版本。
2.那RStudio又是什么?
RStudio是一款R语言的集成开发环境(IDE),R自带的环境操作起来可能不是方便,而RStudio很好地解决了这个问题,而且它还具有调试、可视化等功能。
那么,我们该如何安装这两个软件呢,本期我们主要讲解的是在Windows系统上安装R和RStudio。
3.R的下载与安装
第一步
浏览器中搜索R的官方网址
出现如下界面

第二步
点击页面上的download R

跳转至新的界面

第三步
下拉找到合适的镜像,这里我们选择China的第一个镜像,即清华大学镜像,点击对应的链接

第四步
跳转新的界面后,点击lDownload R for Windows

第五步
点击页面的 install R for the first time

第六步
点击Download R-4.2.1 for Windows

第七步
点击下载

第八步
打开安装包,安装软件(跟着安装向导点击下一步就可以)


选择你要安装的文件路径,一般选择默认路径,并且文件夹名称不含中文字符。

根据自己电脑的操作系统位数选择是62位还是34位,我自己的电脑是64位,所以选择64-bit。






打开安装成功的R是下面这样子

4.RStudio的下载与安装
第一步
打开官网链接
https://www.rstudio.com/products/rstudio/download/
出现以下界面

第二步
下拉界面,找到RStudio Desktop点击下方的DOWNLOAD

第三步
看到跳转界面的All Installers后,下拉选择合适自己操作系统的版本,这里我选择是Windows 10/11版本,点击后方链接

第四步
点击下载

第五步
下载完成后,打开安装包,安装软件(和前面R软件的安装过程一样,按导引操作就可以了),安装成功的RStudio就是这样

5.温馨提示
安装时需注意以下几点
1. 一定要先安装R再安装RStudio,虽然我们后续的分析在RStudio上,但是RStudio自身并不附带R,所以大家不要偷懒哦。
2. 安装R和RStudio时尽量保持默认路径,且R和Rstudio的安装路径不可以有中文。
3. 两个软件安装在同一个文件路径下。
今天的分享就到这里啦~还没安装的小伙伴们快去试试吧~
我们下期再见!
本文首发于“生信大碗”公众号,转载请注明出处
—END—
网友评论