Oce is a package for the R statistical language that helps Oceanographers do their work. Dan Kelley, the author of oce, is working on a book entitled Oceanographic Analysis with R that illustrates the use of oce for a wide variety of tasks.
The images shown below illustrate a few of the things Oce can do; click on an image to enlarge it, or click the link below the image to see the R code that created it.
The stable version of oce is provided on the R archives. It is installed from within R, just like other packages.
Users who are set up to build packages (which requires a C compiler, etc) may stay at the cutting edge by installing a development version. This may be done in several ways.
- Download the source for oce and ocedata as tarballs (
or as zip files
and then build both with the following OS commands
R CMD build oce
R CMD install oce_0.9-14.tar.gz
R CMD build ocedata_0.1.1.gz
R CMD install ocedata_0.1.1.gz
(where similar commands work for zipballs, and of course the version numbers may need adjustment)
- Acquire the sources through Git using
and then build them as described in #1.
git clone https://email@example.com/dankelley/oce.git
git clone https://firstname.lastname@example.org/dankelley/ocedata.git
- Download and build using install_github()
install_github("oce", "dankelley", "develop")
install_github("ocedata", "dankelley", "master")
Some Windows users find it hard to install from source, so they may visit dropbox.com to get binary (zip) files.
The github site can be used in many ways, the most common one being to report a bug or request