当前位置:网站首页>R programming language - Introduction
R programming language - Introduction
2022-06-28 17:12:00 【Hua Weiyun】
R It's an open source programming language , It is widely used as statistical software and data analysis tools .R Usually with a command line interface .R Can be found in Windows、Linux and macOS And other widely used platforms . Besides ,R Programming languages are the latest cutting-edge tools .
It was developed by the University of Auckland, New Zealand Ross Ihaka and Robert Gentleman Design , At present by R Development Core Team Development .R The programming language is S An implementation of programming language . It also combines Scheme Inspired lexical scope semantics . Besides , The project was conceived in 1992 year ,1995 The initial version was released in ,2000 A stable beta version was released in .
Why choose R programing language ?

R Programming is used as machine learning 、 The main tools of statistics and data analysis .R You can easily create objects 、 Functions and packages .
It is a platform independent language . This means that it can be applied to all operating systems .
It is an open source free language . This means that anyone can install it in any organization , Without having to buy a license .
R Programming languages are more than just statistical packages , It also allows us to communicate with other languages (C、C++) Integrate . therefore , You can easily interact with many data sources and statistical packages .
R Programming languages have a large user community , And it's growing every day .
R At present, it is one of the most popular programming languages in the data science job market , This makes it the hottest trend today .
R Features of programming language
R The statistical characteristics of
Basic statistics : The most common basic statistical term is mean 、 Mode and median . These are called “ Central trend measures ”. So use R Language we can easily measure concentration trends . Static graphics : R Rich tools to create and develop interesting static graphics .R Contains functions of many drawing types , Including graphic maps 、 Mosaic drawing 、 Double drawing , And the list continues . A probability distribution : Probability distribution plays an important role in statistics , By using R, We can easily handle various types of probability distributions , For example, binomial distribution 、 Normal distribution 、 Chi square distribution and so on . Data analysis : It provides a huge platform for data analysis 、 A coherent and integrated set of tools .
R The programming features of
R package :R One of the main functions of is that it has a wide range of Libraries .R Yes CRAN(Comprehensive R Archive Network), It is an inclusion of 10、0000 Repository for multiple packages . Distributed computing : Distributed computing is a model , The components of the software system are shared among multiple computers to improve efficiency and performance . be used for R Two new packages for distributed programming in ddR and multidplyr On 2015 year 11 Published in .
stay R Chinese programming
because R It is very similar to other widely used languages in grammar , So in R It's easier to code and learn in . The program can be used in any widely used IDE( Such as R Studio、Rattle、Tinn-R etc. ) of use R To write . The program uses the extension .r Save the file . To run the program , Please use the following command on the command line :
R file_name.rExample :
# R program to print Welcome to haiyong.site! # Below line will print "Welcome to haiyong.site!"cat("Welcome to haiyong.site!")Output :
Welcome to haiyong.site!R The advantages of
R It is the most comprehensive statistical analysis package . Because new technologies and concepts usually appear first in R in .
because R The programming language is open source . therefore , You can run... Anytime, anywhere R.
R The programming language is suitable for GNU/Linux and Windows operating system .
R Programming is cross platform , Can run on any operating system .
stay R in , Welcome to provide new bags 、 Bug fixes and code enhancements .
R The shortcomings of
stay R In programming language , The standards of some packages are not perfect .
although ,R Commands put little pressure on memory management . therefore R Programming languages may consume all available memory .
Basically , stay R in , If something doesn't work , No one will complain .
R Programming language ratio Python and MATLAB Other programming languages are much slower .
R Application
We will R For Data Science . It provides us with a large number of statistical related libraries . It also provides an environment for statistical calculation and design .
Many quantitative analysts use R As its programming tool . therefore , It helps with data import and cleanup .
R It's the most popular language . So many data analysts and research programmers use it . therefore , It is used as the basic tool of Finance .
Now ,Google、Facebook、bing、Twitter、Accenture、Wipro And other technology giants are using R.
R and Python It plays an important role in Data Science . For any novice , stay R and Python Choosing the better or more appropriate one of the two can become confusing . In the next article, I will introduce :R vs Python Choose which language is more suitable for Data Science .
边栏推荐
- 【刷题日记】和为 K 的子数组
- MetaQ安装部署文档
- AutoSAR 软件开发培训
- offsetwidth\clientwidth\scrollwidth
- 小新黑苹果声卡ID注入
- Introduction, type selection comparison and architecture design of common distributed file storage
- How to log in to your WordPress admin dashboard
- 'summary of common network protocols' summarized by Tsinghua leaders in 3 days
- 7-用户输入和while循环
- 如何在网站上安装 WordPress
猜你喜欢
随机推荐
高并发、高可用、弹性扩展,天翼云护航企业云上业务
PotPlayer播放百度雲盤視頻
提升可观测性 - 业务指标监控实践
Cardinality sorting - common sorting method (2/8)
7-用户输入和while循环
[tcapulusdb knowledge base] tcapulusdb technical support introduction
【世界海洋日】TcaplusDB号召你一同保护海洋生物多样性
Noip1998-2018 csp-s2 2019 2021 improvement group problem solving report and video
[tcapulusdb knowledge base] how webclient users read and modify data
抓取手机端变体组合思路设想
np tips: random 创建随机矩阵 sample = np.random.random([19, 64 , 64, 3])
The number of different integers in the character string of [3 questions (3) per day]
opencv 读取图片详解
You have a chance to collect wool. Click "earn" and you will have a chance to earn a high commission
2019 CSP J2 entry group csp-s2 improvement group round 2 video and question solution
软件快速交付真的需要以安全为代价吗?
编写自己的 WordPress 模板
清华大佬耗时3天总结出的'常见网络协议汇总'
"Popular science leaders say" intelligent bionic robot fish
【TcaplusDB知识库】WebClient用户如何读取和修改数据









