[Preface] I 've heard a big story and posted an introduction.
R Software Introduction
R is a free, free, and open source software in the GNU system. It is an excellent tool for Statistical Computing and statistical drawing.
R is an implementation of the s language. The s language is an interpreted language developed by at&t Bell Laboratory for data exploration, statistical analysis, and plotting. At first, the implementation version of s language was mainly S-plus. S-PLUS is a commercial software based on the s language and further improved by the Statistics Division of mathsoft. Later, Robert gentleman from Auckland University and Ross ihaka and other volunteers developed an R system. The use of R has many similarities with S-PLUS, the two software has a certain degree of compatibility. S-PLUS user manual, as long as a few changes can become the r user manual. So someone says: R is a "clone" of the S-PLUS ". But do not forget: R is free.
R is a complete software system for data processing, computing, and drawing. Its functions include: data storage and processing systems; array computing tools (especially powerful in vector and matrix operations); complete and consistent statistical analysis tools; and excellent statistical drawing functions; simple and powerful programming language: It can manipulate the input and input of data, implement branches and loops, and customize functions.
R is not so much a statistical software as a mathematical computing environment, because R does not only provide several statistical programs, users only need to specify the database and several parameters for a statistical analysis. R's idea is: it can provide some integrated statistical tools, but more importantly, it provides various mathematical and statistical computing functions, this allows users to flexibly perform data analysis and even create new statistical calculation methods that meet their needs.
R is a free software. It has UNIX, Linux, MacOS, and Windows versions, and can be downloaded and used for free. R's main website is http://www.r-project.org. You can download the r installer, various plug-ins, and documents there. The setup in R contains only eight base modules, and other external modules can be obtained through cran (http://cran.r-project.org ).
The following describes how to install and use R for Windows:
You can find the installation programs and source code for each version of R under the web site: http://cran.r-project.org. Click to enter: Windows (95 and later), then click: base, download setupr.exe, about 18 MB, This is the R for Windows installer. Double-click setupr.exe and follow the prompts to install it step by step.
After the installation is complete, the program will create an R program group and create a shortcut for the R main program on the desktop (you can also choose not to create it during the installation process ). Run R in a shortcut to bring up the main R window (such as 1-1 ).
Similar to a lot of software that mainly works in programming mode, the R interface is simple and simple, with only a few menus and shortcut buttons. The window below the shortcut button is the command input window, which is also the output window of some calculation results, and some calculation results are output in the new window.
Some text on the top of the main window shows instructions and guidelines when you are just running R. Under the text:> the symbol is the command prompt of R, and the command can be output later;> the rectangle after the symbol is the cursor. R generally works in interactive mode. Enter the command at the command prompt and press enter to output the result.
Above text source: http://www.medstatstar.com/r/index.htm
• R site: http://www.r-project.org/
• R Software Manual: http://cran.r-project.org/manuals.html
• Cran China image site (Southeast University): http://www.lmbe.seu.edu.cn/CRAN
• Beijing University, Mr. Li Dongfeng home: http://cn.math.pku.edu.cn/teachers/lidf/index.html
• East China Normal University Tang yincai home page: http://webpc.shtu.edu.cn: 8080/yctang/index.htm
• Sociology's blog (Simplified Chinese, name may not be correct): http://sociology.yculblog.com/
• R Document: http://www.biosino.org/R/R-doc/ Ding Guohui translation. Documents translated into Chinese include: introduction to R, R for beginners, and r language definition (draft)
These two are actually very similar in terms of syntax, but Matlab is mostly used in engineering, while R is good at Statistics; Matlab is commercial software and R is free software; MATLAB seems faster than R in some algorithms, then, MATLAB's 3D images are richer than R. However, if R is used properly, it will not be much worse than MATLAB, and its functions are constantly being expanded.
It seems difficult to call each other, but R can call some other languages, such as C, C ++, and FORTRAN.