|
Brett Presnell |
STA 4504/5503: Statistical Computing in RAll computing in the course will be done in R. This page will get you started. Take particular note of the information about the R package for the course. InstallationYou can download R from CRAN. The installation process is straightforward. R Package for this CourseI have created an R package for the course which includes the datasets for the examples and exercises and a few convenience functions to make it easier to compute some things. To install the package, start R and run the following command (all one line):
You should expect to run this installation step regularly, as
the package will change frequently during the semester. You
will also need to install the
Once the
The functions included in the package will now be available for
use in your current session, and any dataset included in the package
can be loaded with the
Just running You can see what's included in the package with the command
or more easily by starting the HTML help system from the R menus
and clicking on the DocumentationFor a basic introduction to R, read "An Introduction to R", which can be found under the "Manuals" link on CRAN. You can find other information on CRAN and among my R related links, though the latter needs updating. You might find John Maindonald's R-courseprep page useful as well. HypeR has been getting some media attention lately, for example in the New York Times and Forbes.
|