Get started with R
R is a language and environment for data analysis, and available as free software under the terms of the Free Software Foundation's GNU General Public License. You can download a software package and immediately install it from
R is a programming language, and runs a “command” in an interactive manner, known as “interpretor.” Each command is requested in a form of “function”: For example, it is the function q() to quit the program.
> q()
Use it as a calculator.
We can execute arithmetic operations at the prompt.
For example,
can be performed by typing
> 8^4 * 12^3
R Studio. On top of R you need to install
At the web site above you should follow their instruction, download and install [DESKTOP R STUDIO] at your PC. It provides an integrated development environment (IDE) for R.
idemo. This allows you to run R code interactively line by line. You can download
and source it by executing
> source(file.choose())and choosing the file idemo.R from folders. You can now start it by typing
> idemo()and select R code of your choice from folders.
© TTU Mathematics