Learn R On Your Own
(formerly CSE 8091: Advanced Scientific Computing with R)
All course material is provided under
Introduction
Scientific computing applies computational methods to scientific and
engineering problems. This course will help you exploit the power of R, a
freely available language and environment for statistical computing and
graphics, to boost your research with state of the art data analysis and
visualization. R is currently the 2nd most widely used environment for data
analysis/mining beating the well-known commercial tools IBM/SPSS, SAS and
Matlab (2011 KDDnuggets Survey) and the most used programing language for
data mining and analytics (another 2011 KDDnuggets Survey).
The material collection of this page was created for the course CSE 8091
Advanced Scientific Computing with R held in Fall 2011 (see course syllabus). The material is
suitable for learning R by yourself. Here are the steps you need to follow:
- Install R (see Tools and Software below). You probably also want to install RStudio.
- Work through "An Introduction to R" (see Readings Section below). The
presentation slides and videos on this page cover
a large part of the introduction.
- Check out the rest of the sections Readings and
the Useful Links section below.
Presentations
-
Overview: A first R session
-
Slides /
Video
-
Objects, arrays and lists -
Slides /
Video
-
Loops, apply and functions -
Slides /
Video
-
Plots and Visualization -
Slides /
Video
-
Creating simulated data -
Slides
- Object-oriented programing -
S3 object system /
S4 object system
-
Anatomy of packages - Example package TSP
- Basic regression and classification models - Code examples
- Computation using multiple-cores or a cluster - multi-core example, cluster example
- Visualizing Graphs - igraph examples (map.R)
Readings
Tools and Software
Linux/Ubuntu
This is the preferred installation! You can
do one of the following:
- Install Ubuntu on a spare partition to create a dual boot.
- Install Virtual Box and install Ubuntu on a virtual machine.
In Ubuntu you can use the "Synaptics Package Manager"
(under "System Settings") to install "R-base", "g++" and any other software you
need.
Windows
You can download R for Windows
from CRAN.
RStudio IDE
RStudio makes working with R
much easier.
Useful Links
Michael Hahsler
Last modified: