❤ Windows computer R language software installation tutorial
Install R and Rstuido software
introduce :
R language is a programming language and software environment for statistical analysis, graphical representation and reporting; Rstudio is one of the most ideal tools for editing and running R language.
01Download the R installation package from the official website
The download address is: https://cran.r-project.org Enter the link, as shown in the figure below. Three download links are provided at the top of the page, corresponding to three operating systems: Windows, Mac and Linux. Please select the link corresponding to your operating system. Next, I will show you the installation process using windows as an example.
Next, click [Download R for Windows]——>[base]——>[Download R 3.3.1 for Windows] to download the corresponding installation package.
Download and install all the way
02 Function shortcut keys
Withdrawal:Ctrl/Command + Z
Heavy:Ctrl/Command + Y
:Ctrl/Command + B
Italic:Ctrl/Command + I
Title:Ctrl/Command + Shift + H
Unordered table: Ctrl/Command + Shift + U
Ranked table: Ctrl/Command + Shift + O
Listed table: Ctrl/Command + Shift + C
Transfer: Ctrl/Command + Shift + K
Entry entry: Ctrl/Command + Shift + L
Entry entry: Ctrl/Command + + < /span> Replacement: + 查找:Shift + G
Ctrl/CommandF
Ctrl/CommandG
03官网下载RStudio安装包
Download address: http://www.rstudio.com/ide After entering the download page, you can find that there are two versions: Desktop and Server. We choose Desktop.
Install the corresponding
Click the blue circular icon to enter the download window that jumps to the Desktop version. The Desktop version is divided into two versions: Open Source Edition (free) and Commercial License (paid).
If beginners use it themselves, they can choose the former and click [DOWNLOAD RSRUDIO DESKTOP].
Click [DOWNLOAD RSRUDIO DESKTOP] to enter the download page. Select the downloaded version according to your computer's operating system. Because my operating system is win7, I chose [RStudio 0.99.903-Windows Vista/7/8/10]. Click and download to get [RStudio-0.99.903.exe].
04Install RStudio
step1, double-click [RStudio-0.99.903.exe] to install
step2. Select the installation location
You can change the installation path yourself.
step3. Installing
step4. Installation completed
step5, IDE function introduction
After opening RStudio, the window shown above will appear, with three independent panels. The largest panel is the console window, which is where you run your R code and view the output. That is the console window you see when running native R. Other panels are unique to RStudio. Hidden in these panels include a text editor, a drawing interface, a code debugging window, a file management window, etc.
Note: Some people may ask, do you need to download R if you have RStudio?
Even if you use RStudio, you still need to install R on your computer in advance. RStudio is just a tool to assist you in editing with R. It does not come with an R program itself.
step3. Installing
step4. Installation completed
step5, IDE function introduction
After opening RStudio, the window shown above will appear, with three independent panels. The largest panel is the console window, which is where you run your R code and view the output. That is the console window you see when running native R. Other panels are unique to RStudio. Hidden in these panels include a text editor, a drawing interface, a code debugging window, a file management window, etc.
The installation is complete!