Basics of R
Its a software and programming language used for statistical computing and report generation.
Its Free and open source with GPL Licensing
It has a GUI to work upon called as RStudio.
This software can be installed using the following command in Ubuntu
$] sudo apt update
$] sudo apt install build-essential autoconf automake libxmu-dev
$] sudo apt install r-base rstudio
To open the software, you can use either through the GUI or through terminal using
$] rstudio
The GUI looks like this
Features of R
- Its based on object oriented design
- R Commands can be included or embedded with other software or applications or programming languages namely C++. Java and other commercial tools.
- It supports multiple Operating systems like Windows, Linux, Mac OS, etc.
Advantages of R
- Good community to help
- Works in a interactive way
- Plotting and graphs are easy to plot using the libraries.
- New libraries can be easily generated.
- Its completely modular and object oriented.
See the following screenshot that shows the RStudio Window. We can run the commands in Console window and get the output interactively.
We can write a script directly in the Script window and execute the program using Run Button and other two window namely environment and file window.
Disadvantages
R needs more memory, so large datasets can be processed with the maximum available memory in the machine.
Comments
Post a Comment