当前位置:网站首页>R and rstudio download and installation tutorial (super detailed)

R and rstudio download and installation tutorial (super detailed)

2022-07-02 16:56:00 Full stack programmer webmaster

Hello everyone , I meet you again , I'm your friend, Quan Jun .

R Language is a mathematical programming language designed for mathematical researchers , Mainly used for statistical analysis 、 mapping 、 data mining .

If you are a beginner of computer program and are eager to understand the general programming of computer ,R Language is not an ideal choice , You can choose PythonC or Java.

R Language and C Language is the result of Bell Labs research , But they have different areas of focus ,R Language is an interpretive language for mathematical theory researchers , and C Language is designed for computer software engineers .

R Language is the language that explains the operation ( And C The compilation of the language runs differently ), Its execution speed is faster than C Language is much slower , Not conducive to optimization . However, it provides richer data structure operations at the syntax level, and can easily output text and graphic information , So it is widely used in mathematics, especially in the field of Statistics .

R Language official website :The Comprehensive R Archive Network

Official mirror station list :CRAN – Mirrors

One 、 Download from the official website R Installation package

Download at :Index of /bin Go to the link , As shown in the figure below . Choose the corresponding link according to your operating system , Next, I'm going to windows As an example to show you the installation process .

Next click 【windows】——>【base】——>【Download R 4.1.3 for Windows】, You can download the corresponding installation package .

single click base, Go to the following page :

Click to download

Two 、 install R

Download the R Installation package ( The name of my installation package is :“R-4.1.3-win.exe”), Then double click to start the installation .

Choose Chinese ( Simplified Chinese character )

Click directly to next

Select installation location

You can also choose the installation location by yourself

Installation of components

Be careful : The operating system used here is 64 Bit , But now there are still a few computers that use 32 Bit operating system , If your operating system is 32 Bit , Please select in this step ”32-bit Files“ Options .( Want to know R Linguistic 32 Bit and 64 Please check the change blog :R Of 32 Bit and 64 The difference between bits !_allinallinallin The blog of -CSDN Blog _r Language 64 position

Startup options

Select additional tasks

Installation , And generate desktop shortcuts

open R

Double-click to open R The native IDE, As shown in the figure below :

When we enter the following code in the interactive command window :

print(“Hello, world”)

The output is :

“Hello, world”

3、 ... and 、 Download from the official website RStudio Installation package

Rstudio yes R An integrated development environment , That is to say IDE, Commonly used in R Programming community . Because it is easy to use and powerful , So use R Languages will be installed . By JJ Allaire The company in 2011 Founded in , stay RStudio Desktop and RStudio Use... In the server , It can also be used in commercial and open source versions . Can be in global options Select the one you have installed R Language version , Don't need to open R And on again Rstudio.

Download address : RStudio – RStudio After entering the download page , You can see that there is Desktop and Server Two versions , We choose Desktop.

Click on the blue circle icon , Go in and jump to Desktop Version download window ,Desktop The version is divided into two versions :Open Source Edition( free ) and Commercial License( pay ).

Beginners can choose the former for their own use , single click 【DOWNLOAD RSRUDIO DESKTOP】.

After entering the download page , Choose the download version according to your computer's operating system

Here I choose the latest version ( According to the configuration of the computer and personal preferences ), The software is not very big , It will be downloaded soon

Four 、 install RStudio

double-click 【RStudio-2022.02.0-443.exe】 Installation

Select installation location

You can change your installation path by yourself . Here I am D Disk to install ( My computer C There is not much disk space !!).

Installing

installation is complete

IDE Function is introduced

Reference material :

If you want to know more , Please refer to the following materials

Novice tutorial :R Language course | Novice tutorial

RStudio The use of the tutorial :R Basic language course —— The first 3 Chapter :RStudio The use of the tutorial – You know

Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/147811.html Link to the original text :https://javaforall.cn

原网站

版权声明
本文为[Full stack programmer webmaster]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/183/202207021338052030.html