Joe Kunkel, UMass Amherst, Biology
joe@bio.umass.edu
What is critical to know about R?
How to install from Cran: [http://cran.r-project.org/ http://cran.r-project.org/]
Base library operations and functions
- help, help.search, ?, ??
- Math operations
- + - * / ^ ... basic math
- %*% ... matrix algebra
- %% and %/% ... special operations
- %/% ... integer division
- %% remainder
- functions of form foo(par1, par2, ...)
- Help documents from the R-browser (pull down menu).
< UL>
- An Introduction to R
- R Installation and Administration
- Read and Write functions (input and output).
- *CSV, tables, text, numeric, headers, skipping lines, picking lines.
- *Binary files, proprietary files, image files (greyscale, color)
Conditional Expressions
Important add-on libraries
- Ape
- pixmap
- fields
- lattice
WIN MAC incompatibilities
if (!"unix"==.Platform[1])
{quartz<-function() windows()}
Exemplar Projects
- Raman Spectroscopy.
- *Baseline correction
- *Raw data input
- *Function deffinition
- Fields library plots.
----