文档介绍:R: Statistics? Programme?and Who are You?
-- An ABC introduction to R
Presented by
Guohui Ding
R&D, SIBS, CAS
For Fudan University
Main Topics Today
What is R?
How to administrate R?
How does R work?
How to apply R for statistical problem?
How to program your R function?
………
What is R?
A brief history of R
The legend of R
R started in the early 1990’s as a project by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, intended to provide a statistical environment in their teaching lab. The lab had puters, for which no mercial environment was available.
Robert Gentleman
Ross Ihaka
R’s Parents(1)
The S language
S: an interactive environment for data analysis developed at Bell Laboratories since 1976
Exclusively licensed by AT&T/Lucent to Insightful Corporation, Seattle WA. Product name: “S-plus”.
You can learn more from:
-/cm/ms/departments/sia/S/
My father is S, mother is Scheme, but why my name is “R”?
The Scheme language
Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language invented by Guy Lewis Steele Jr. and Gerald Jay Sussman.
Learn more: /
Scheme’s underlying semantics + S’syntax = R
R’s Parents(2)
“ We have named our language R –in part to acknowledge the
influence of S and in part to celebrate our own efforts.”
-- R. Ihaka
R. Gentleman
-- Ihaka R. & Gentleman R., 1996
R Now
Since mid-1997 there has been a core group who can modify the R source code CVS archive.
The R package system
CRAN (prehensive
R work )
.org
The characters of R
R is “GNU S”— A language and environment for data manipula-tion, calculation and graphical display.
That is R is a Free Software (or Open source software). (Here, Free refers to freedom, not price, although R is free in that sense as well.)
The core of R is an puter language.
A mosaic of procedure-based programming and object-oriented programming
Good interfa