Skip to content
Tags

, ,

Installing EBImage package for R (using RStudio) in Ubuntu

June 28, 2013

The EBImage is a package used for image processing & analysis from R. To install EBImage package,

source(“http://bioconductor.org/biocLite.R”)

biocLite(“EBImage”)

But it has a dependancy on tiff (the previous step might throw an error stating that tiff is unavailable – common.h:5:18: fatal error: tiff.h: No such file or directory)

Solution:

1. Go to Synaptic (Ubuntu software center)

2. Search for libtiff4-dev and install.

Then go back to RStudio, and run the command

biocLite(“EBImage”)

Note:

This package also depends on rJava. So rJava package has to be installed before EBImage. Refer here for more details.

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: