Features of R Programming Language
These are the R programming language features
-
- R is a programming language for data analysis and graphics.
- It is an open source language, which means that it is continually being reviewed and improved.
- It has powerful tools for performing any statistical data analysis.
- By using this, we can perform multiple calculations on vectors, arrays and matrices.
- It supports both procedural and object oriented features. The procedural programming provides records, modules and procedural calls, while the object oriented programming provides classes, objects and generic functions.
-
- It provides database input, data handling, storage facilities.
- We can easily do matrix arithmetic using this.
- As it is an interpreted language so there is no need to compile your code before execution.
- The biggest strength of R is that it provides predefined functions to create more sophisticated plots to represent complex data, such as contour lines, density curves, and many other things.
- In addition to providing statistical operations, it is also a general-purpose programming language. It is platform independent and available for the Windows, Mac, and Linux operating systems.
- It has the capability to plot different types of graphs like scatter plots, line plots, dot plots, histograms, box plots and so on.
- With the help of some inbuilt and external packages, it can easily handle different types of file manipulations.
- The system saves data sets between sessions, so you don’t need to reload
them each time. It saves your command history too. - R is a command line driven program, means the commands entered in the console are evaluated and executed. There is no need to compile the code.
- There are some free GUIs available for R, so rather than using an R terminal window, we can also use GUI.
- We can run the R program in both interactive and batch modes.