Software

From Earlham CS Department
Revision as of 10:59, 20 July 2009 by Gaespin07 (talk | contribs)
Jump to navigation Jump to search

The following versions of each application used in this project were downloaded and installed on the Mac OS X operating system

Installing this application requires you to double-click the .mpkg file in the disk image and follow the on-screen instructions. Once that is done you can open R from its install location

Note:You can select the version of Grass to match your version of OS X Grass requires you to double-click the .pkg file and follow the on-screen instructions

Google Earth requires you to drag the application icon to the Applications folder Note: Clicking on the link will begin the download process

GRASS/R Interface

This section covers how to first download and then install the necessary frameworks and packages for the GRASS/R interface.

Frameworks

Installing these frameworks involves double-clicking the .mpkg file in the disk image and following the on-screen instructions. These frameworks were installed in the order they appear from top to bottom.

Packages

  • rgdal
    • Once the zip file has been downloaded, open R Preferences
    • Go to the Startup Pane and select Add ~/Library/R... under Default Library Paths
    • Under the Packages & Data menu, open the Packages Installer
    • Select At User Level at the bottom of the window as well as install dependencies on the bottom right hand corner
    • Select Get List and choose your mirror site
    • Scroll down the page, find the package sp, and download/install it
    • Go back up to the drop down menu under Packages Repository and select Local Source Package
    • Select Install All, find the folder where you saved your downloaded file
    • Select the .tgz file and hit open
    • The package should run a script in R and will be installed once that is done
  • spgrass6
    • Open R
    • Run the command:
install.packages("spgrass6", type="source", dependencies=TRUE)
    • The packaged should run a script in R and will be installed once that is done

R can now be run within OpenOSX Grass by typing R in the terminal once Grass is open.