- Introduction
RStudio is an R language integrated development environment (IDE) developed by RStudio. It is widely used in window-based R programming. Compared with the GUI interface that comes with R, it has a more friendly interface, better project management functions, package Management function, picture preview function, etc.
1. Download path
R package download:
https://www.r-project.org/
Reference: Baidu Experience:
https://jingyan.baidu.com/article/3d69c5515f43b2f0cf02d7aa.html
RStudio tools download:
https://www.rstudio.com/products/rstudio/download/
Reference: Baidu Experience:
https://jingyan.baidu.com/article/7f766daf87fedf4100e1d076.html
2. Installation process
Install as normal software. Install R first, then install RStuido, and RStudio will automatically find the path where R is located.
Introductory learning of R language on MOOC:
http://www.imooc.com/learn/446?from=itblog
Create project:
File-->New Project
-->New Directory
-->New Project
-->Fill in Directory name and Create project as subdirectory of
After filling out -->Create Project-->Create complete
Create a file:
File-->New File-->R Script
Window introduction:
[1]. The window for editing R scripts, which can provide functions such as editing, searching, replacing, and running.
[2]. The command line window of the R session, where you can run commands line by line, or display the running process of the script.
[3]. Various variables and historical commands involved in the R runtime environment can provide functions such as importing, exporting, and clearing data.
[4]. The preview help system provided in RStudio has functions such as file browsing, drawing preview, package management, and help system.