R is an open source programming language used for Research, Analytic Computing and Statistical Computing. It is commonly used by analysts and data miners for Data Analysis, it has become an important tool for Finance and Analytics companies like Facebook and Google
R was developed by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand. It was commenced on April 1, 1997.
Advantages of R
The biggest and most obvious advantage R has that it is free.This can be a major advantage for people new into the field of Analytics.
Another advantage is that R is that it has the most advanced analyses tools because any user can write an add-on package for it.
Final advantage of R is widely used by professionally and academically. It leads to R users being able to learn, collaborate and interact with other R users around the globe.
R is a package of softwares and facilities used for data manipulation. It includes:
- an effective data handling facility,
- a collection of operators for calculations on matrices and arrays,
- a wide, consistent, integrated suite of intermediate tools for data analysis, and
- graphical ability for data analysis,
Basic Syntax
> a <- c(1,2,3,4,5) # Create an ordered collection (vector)
> b <- a^2 # Square the elements of a
> print(b) # print (vector) b
OUTPUT
[1] 1 4 9 16 25
0 Comment(s)