Introduction to R & R Studio

R (also known as GNU S) is a programming language and software for statistical analysis and graphics. It was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is now developed by the R Development Core Team, which includes Chambers. R is partially named after its creators (Robert Gentleman and Ross Ihaka) and partially as a play on the name S.

R has become the de facto standard among statisticians for developing statistical software and is widely used for statistical software development and data analysis. R is part of the GNU project. Its source code is freely available under the GNU General Public License, and precompiled binary versions are available for various operating systems. R primarily uses a command-line interface, although several graphical user interfaces are also available.

R provides a variety of statistical techniques (linear and nonlinear modeling, classical statistical tests, time series analysis, classification, clustering, etc.) and graphics. Like S, R is designed as a true programming language, allowing users to extend its capabilities by defining new functions. Another major strength of R is its graphical facilities, which produce publication-quality graphs that can include mathematical symbols. R features documentation formats similar to LaTeX, used to provide comprehensive documentation both online (in various formats) and in print.

RStudio is an integrated development environment (IDE) specifically for the R programming language. This software provides an R console, a code editor with syntax highlighting, code completion, and direct execution, along with an environment, history, connections, and additional features such as a file manager, package manager, help system, plot viewer, and project versioning using Git. RStudio actually has two versions: an open-source (free) version and a commercial edition (paid). RStudio is not limited to desktop applications; there is also RStudio Server, which can be accessed via a web browser connected to a network. For now, the version of RStudio discussed will be the open-source desktop version only.

MODULE

Download Module 1