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.

  1. Download the source for oce and ocedata as tarballs ( oce and ocedata), or as zip files (oce and ocedata), 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)

  2. Acquire the sources through Git using
    git clone https://dankelley@github.com/dankelley/oce.git
    git clone https://dankelley@github.com/dankelley/ocedata.git
    and then build them as described in #1.
  3. 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 a feature.

This website is written in Jekyll, and the source is available on GitHub.