R is a free software environment for statistical computing and graphics. R can be run from within Emacs using the ESS (Emacs Speaks Statistics) package, which also provides a major mode for editing `.R` files.
See http://www.r-project.org for more details on R. More information on ESS can be found at its tag: ess.