Introduction to R Programming and RStudio Integrated Development Environment (IDE)
摘要
This chapterR programming presentsRStudio an introductionIntegrated Development Environment (IDE) to theR programming R programming languageProgramming language and RStudioRStudio software used in conducting the statistical data analysisStatistical data analysis, graphical displays, modeling, and calculations particularly for research purposes. It covers the basic concept of R programming, and how the readers can install and run their first project using R. R is built on the well-developed, simple, and effective programming languageProgramming language called “S and S-Plus” that supports the users to define recursive functions and conditionals loops, with a wide range of coherent and integrated collection of tools (packages) and suite operators for statistical data analysisStatistical data analysis and/or calculating arrays and matrices. The capacity to write more efficient code using parallel method or vectorization is one of the main features of the R softwareR software illustrated in this chapter, because of its programmable integrated development environmentIntegrated Development Environment (IDE) (such as RStudio) that uses command-line scriptingCommand-line scripting. It shows the capability to define and customize the R functionsR functions or codes (e.g., how the user or analysts want or expect the resultant models to behave) upon handling the data which are expanded in detail in Chap. 2 ). R has several built-in functions and librariesR libraries that are extendable (extensible) and allow the users to define their own (customized) functions or methods that can be stored in the simple object system. Thus, R is regarded as an object-oriented programmingObject-oriented programming languageProgramming language.