How to install rimage on Mac

rimage is an image processing module for R. To install the package, fftw as well as libjpeg are needed. Here is what worked for me on Mac Intel 10.4.11 , R version 2.6.0.

Download FFTW 2.1.5 source here
(Do not use the latest version 3!)

Unpack and cd into the directory.
sudo make install

Download libjpeg source here. (1)

Unpack and cd into the directory.
sudo make install-lib

Then install the package in R.

These references were helpful to point me in the right direction.

(1) Even though jpeglib.h comes installed under the UniximageIO.framework R does not find it. A symbolic link did not do the trick.

No TweetBacks yet. (Be the first to Tweet this post)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>