You can find the entry of R as a programming language here in Wikipedia.
Attribute | In case of R |
---|---|
Developer | R Core Team |
First appeared | August 1993; 25 years ago |
Stable release | 3.5.3 (“The Great Truth”) |
Website | www.r-project.org |
<-
, although =
can usually be used instead.x <- 1:6 # Create vector.
y <- x^2 # Create vector by formula.
mean(y) # Arithmetic mean of vector.
## [1] 15.16667
The mean of vector y is 15.1666667.
The following code chunk is syntactically incorrect and thus should not be executed!
mean[y]
Last but not least - the well known R icon (from the wikipedia page):