|
|
|
|
R (programming language)
|
| |
|
| |
In computing, R is a programming language and software environment for statistical computing and graphics. It is an implementation of the S programming language with lexical scoping semantics inspired by Scheme.
R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is now developed by the R Development Core Team. It is named partly after the first names of the first two R authors (Robert Gentleman and Ross Ihaka), and partly as a play on the name of S.

Discussion
Ask a question about 'R (programming language)'
Start a new discussion about 'R (programming language)'
Answer questions from other users
|
Recent Posts

Encyclopedia
In computing, R is a programming language and software environment for statistical computing and graphics. It is an implementation of the S programming language with lexical scoping semantics inspired by Scheme.
R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is now developed by the R Development Core Team. It is named partly after the first names of the first two R authors (Robert Gentleman and Ross Ihaka), and partly as a play on the name of S. The R language has become a de facto standard among statisticians for the development of statistical software.
R is widely used for statistical software development and data analysis. R is part of the GNU project, and its source code is freely available under the GNU General Public License, and pre-compiled binary versions are provided for various operating systems. R uses a command line interface, though several graphical user interfaces are available.
Features
R provides a wide variety of statistical (linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, and others) and graphical techniques. R, like S, is designed around a true computer language, and it allows users to add additional functionality by defining new functions. There are some important differences, but much code written for S runs unaltered. Much of R's system is itself written in the language, which makes it easy for users to follow the algorithmic choices made. For computationally-intensive tasks, C, C++ and Fortran code can be linked and called at run time. Advanced users can write C code to manipulate R objects directly.
R is also highly extensible through the use of user-submitted packages for specific functions or specific areas of study. Due to its S heritage, R has stronger object-oriented programming facilities than most statistical computing languages. Extending R is also eased by its permissive lexical scoping rules.
Another of R's strengths is its graphical facilities, which produce publication-quality graphs which can include mathematical symbols. R has its own LaTeX-like documentation format, which is used to supply comprehensive documentation, both on-line in a number of formats and in hard copy.
Although R is mostly used by statisticians and other practitioners requiring an environment for statistical computation and software development, it can also be used as a general matrix calculation toolbox with comparable benchmark results to GNU Octave and its proprietary counterpart, MATLAB (version < 7).
Packages The capabilities of R are extended through user-submitted packages, which allow specialized statistical techniques, graphical devices, as well as programming interfaces and import/export capabilities to many external data formats. These packages are developed in R, LaTeX, Java, and often C and Fortran. A core set of packages are included with the installation of R, with a total of 1628 (as of November 2008) available at the Comprehensive R Archive Network (CRAN). Notable packages by subject area are listed along with comments on the official pages.
Development The bioinformatics community has seeded a successful effort to use R for the analysis of data from molecular biology laboratories. The bioconductor project, which started in the fall of 2001, provides R packages for the analysis of genomic data, such as Affymetrix and cDNA microarray object-oriented data handling and analysis tools.
The Gnumeric developers have cooperated with the R project to improve the accuracy of Gnumeric.
Milestones
- Version 0.16 – This is the last alpha version developed primarily by Ihaka and Gentleman. Much of the basic functionality from the "White Book" (see S history) was implemented. The mailing lists commenced on April 1, 1997.
- Version 0.49 – April 23, 1997 – This is the oldest available source release, and compiles on a limited number of Unix-like platforms [https://stat.ethz.ch/pipermail/r-announce/1997/000367.html]. CRAN is started on this date, with 3 mirrors that initially hosted 12 packages [https://stat.ethz.ch/pipermail/r-announce/1997/000366.html]. Alpha versions of R for Microsoft Windows and Mac OS are made available shortly after this version.
- Version 0.60 – December 5, 1997 – R becomes an official part of the GNU Project [https://stat.ethz.ch/pipermail/r-announce/1997/000379.html]. The code is hosted and maintained on CVS (since September 17, 1997 — although anonymous access wasn't granted until November 12, 1999).
- Version 1.0.0 – February 29, 2000 – Considered stable enough for production use [https://stat.ethz.ch/pipermail/r-announce/2000/000492.html].
- Version 1.4.0 - December 19, 2001 – S4 methods are introduced [https://stat.ethz.ch/pipermail/r-announce/2001/000603.html], and the first version for Mac OS X is made available soon after [https://stat.ethz.ch/pipermail/r-announce/2001/000612.html].
- Version 2.0.0 – October 4, 2004 – Introduced lazy loading, which enables fast loading of data with minimal expense of system memory [https://stat.ethz.ch/pipermail/r-announce/2004/000792.html].
- Version 2.1.0 – April 18, 2005 – Support for UTF-8 encoding, and the beginnings of internationalization and localization for different languages [https://stat.ethz.ch/pipermail/r-announce/2005/000797.html].
- Version 2.5.0 – April 24, 2007 – Object name completion by integration of package ‘rcompletion’, and ‘Rscript’ front-end, which enables shell-like R scripting [https://stat.ethz.ch/pipermail/r-announce/2007/000828.html].
- Version 2.6.0 – October 3, 2007 – Improved handling of data with a large number of identical strings [https://stat.ethz.ch/pipermail/r-announce/2007/000832.html].
- Version 2.7.0 – April 22, 2008 – Improvements of graphics output, and change of default device from PostScript to PDF [https://stat.ethz.ch/pipermail/r-announce/2008/000841.html].
- Version 2.8.0 - October 20, 2008 - var, cov, cor, sd etc now by default (when 'use' is not specified) return NA in many cases where they signalled an error before.
Productivity tools
There are various interfaces to R.
Graphical user interfaces
- Brodgar - commercial software designed for biologists
- rggobi, an interface to GGobi for matrices visualization
- Java Gui for R - based on Java
- latticist - A graphical user interface for exploratory visualisation
- playwith - A GTK+ graphical user interface for editing and interacting with R plots
- pmg (Poor Man's GUI) - based on GTK+2
- Rattle (the R Analytical Tool to Learn Easily) - based on GTK+2 (also offers a set of PMML exporters)
- R Commander - based on tcltk (several plug-ins to Rcmdr are also available)
- - interactive and collaborative R web interface based on MediaWiki
- RExcel - Using R and Rcmdr from within Microsoft Excel. More information at the
- RKWard - based on the KDE libraries
- Sage - web browser interface as well as rpy support
- SciViews-R - based on tcltk2
- SciViews-K - based on Komodo Edit
- Statistical Lab
- nexusBPM - Automation Tool for R, eclipse plug-in to create R process flows and run R in parallel
- StatET - R with Eclipse
Editors and IDEs Bluefish,
ConTEXT,
Eclipse,
Emacs (Emacs Speaks Statistics), Geany,
jEdit,
Kate,
Syn,
TextMate,
Tinn-R,
Vim, SciTE, Smultron, and WinEdt (R Package RWinEdt).
Scripting languages
R functionality has been made accessible from several scripting languages such as Python (by the RPy interface package) and Perl (by the StatisticsR module).
Commercial tools
There are several commercialized or enterprise versions of R, which include support and services.
Finding information about R
The brevity of R's name makes it difficult to use search engines to find information about it. Specialist sources include RSeek and the R Search Engine .
CRAN R and user-submitted packages are commonly distributed through CRAN, which is an acronym for the Comprehensive R Archive Network. There are over 60 CRAN mirrors worldwide, with the head-node (http://cran.r-project.org/) located at the Wirtschaftsuniversität Wien in Vienna, Austria. One way of searching for information about R is to find sites that link to CRAN.
R News An open access newsletter called R News is released online two to three times a year featuring statistical computing and development articles that might be of interest to both users and developers of R. Articles are anonymously peer-reviewed. It has been in press since January 2001.
See also
Resources
- (See also by the same authors.)
An extensive list (with brief comments) of books related to R is here:
External links
-
-
-
- shows R in action.
- by the R Development Core Team. ISBN 0-9546120-0-0 (vol. 1), ISBN 0-9546120-1-9 (vol. 2)
- User contributed R documentation and how to information.
- or the show examples of graphics generated by R
- Statistical programming with R is a three part series (, , ), by David Mertz and Brad Huntting, introducing both the functional programming style of R, and explaining how to express object-oriented programs.
-
-
-
-
-
- Thomas Girke
- by Tom Short
- - List of different R GUI Packages
- - Open access modules published in The Plant Health Instructor, including an introduction to R
- - Quick reference to the R language, for experienced and novice users
-
|
| |
|
|