Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

RMINC

RMINC is a library for the R statistical environment designed to read and write MINC volumes as well as perform optimized statistical routines at every voxel of a set of files.

Development

The main development home for RMINC can be found here: https://launchpad.net/rminc - that page includes access to the source code, downloads, bug reporting, and facilities for asking questions (and getting them answered, of course).

Documentation

The main RMINC documentation comes in the form of a mini-book; find the most recent version here: https://launchpad.net/rminc/+download.

Installation

Installing the RMINC library the easy way:

  • Download the tarball from the Launchpad RMINC website https://launchpad.net/rminc/ (current version (March 12, 2008) is 0.4 https://launchpad.net/rminc/1.0/0.4)
  • By default, the library will be installed in /usr/share. If you want to change this location, the R_LIBS variable needs to be set:
    export R_LIBS=/build/directory
    
  • Install the package (example is for the tarball version 0.4):
    R CMD INSTALL RMINC_0.4.tar.gz --configure-args='--with-build-path=/install/directory/minc2'
    

If you want to make it nice and complicated: 

  • Retrieve a copy of the bazaar repository of the RMINC library
    bzr branch lp:rminc /directory/where/sourcefiles/go
    
  • Get a copy of the McGill m4 package. They should go in a directory called "m4" inside the root directory of the RMINC installation files.
    cd /directory/where/sourcefiles/go
    mkdir m4
    svn co https://repo.phenogenomics.ca/subversion/mni-m4/trunk/ m4/
    
  • The R_LIBS variable determines where the library is installed. By default it will be installed under /usr/share. If you want to install the library somewhere else, the R_LIBS environment variable should be set.
    export R_LIBS=/build/directory
    
  • Run autogen.sh
    chmod u+x autogen.sh
    ./autogen.sh
    
  • Install the package
    R CMD INSTALL /directory/where/sourcefiles/go --configure-args='--with-build-path=/install/directory/minc2'
    
  • No labels