How to Install

A guide for installing Eagle along with multi-threaded R

If you already have R installed and you are in a hurry

Step 1: Update packages

Problems can occur, especially with shiny, if the packages upon which Eagle is dependent, are not current. To update the packages, in your R session, type the following

 update.packages()  

update.packages will update all the packages in your library, interactively.

If you would like to automate the update, use the ask=FALSE argument.

Step 2: Install Eagle

To install Eagle, Fortran and C++ compilers are needed.

In your R session, if you have root access, use the following command to install Eagle

 install.packages("Eagle")  

If you don't have root access, use

 install.packages("Eagle", lib="/your/Rlibrary/")  

where "/your/RLibrary/" is the name of the directory where R packages are to be installed.

install.packages("Eagle") will install Eagle and any missing dependent packages.

Step 3: Run Eagle

To run Eagle and given that you have installed it in a default library, use

 library("Eagle")  

or if you don't have root access, use

 library("Eagle", lib="/your/Rlibrary/")  

where "/your/RLibrary/" is the name of your local directory where R packages are installed.

Installing R Open and Eagle

Eagle was designed to harness parallel computation. R, upon which Eagle is based, is not set up for parallel computation. Fortunately, there is a simple solution. Microsoft have developed an open source freely available version of R, called R Open. R Open is the same as R except that it comes with multi-threaded maths libraries for parallel computation.

Step 1: Install R Open for multi-threaded computation

Choose your Platform for instructions on how to install R Open

Step 2: Install Eagle

To install the Eagle package, from the R command window, use the install.packages( ) command

 install.packages("Eagle")  

This can take a bit of time as it is not only Eagle that needs installing but several other packages upon which Eagle is dependent.

Step 3: Run Eagle

To start using Eagle, from the R command window, use

 library("Eagle") 

This will load the Eagle package into your R session, ready for use. Go to Quick Start Guide for instructions on how to use Eagle.