Difference between revisions of "Software"

From Earlham CS Department
Jump to navigation Jump to search
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Software=
+
The following versions of each application used in this project were downloaded and installed on the Mac OS X operating system
The following versions of each application were used in this project:
 
  
*R(2.8.0)
+
*[http://cran.case.edu/bin/macosx/R-2.9.1.dmg R(2.9.1)]
*OpenOSX Grass(6.3.0)
+
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
*Google Earth(5.0)
+
*[http://www.kyngchaos.com/software:grass Grass(6.4 RC5-3)]
 +
''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
 +
*[http://www.kyngchaos.com/files/software/unixport/Qgis-1.1.0-3-Leopard.dmg QGIS(1.1.0-3)]
 +
To install QGIS you have to drag the Application icon from the disk image to your Applications folder
 +
*[http://earth.google.com/thanks.html#os=mac Google Earth(5.0)]
 +
Google Earth requires you to drag the application icon to the Applications folder
 +
''Note: Clicking on the link will begin the download process''
  
=Download and Installation Process=
+
=GRASS/R Interface=
This section covers where to find the necessary versions of R, GRASS, and Google Earth as well as how to install them.
+
This section covers how to first download and then install the necessary frameworks and packages for the GRASS/R interface.
 +
==Frameworks==
 +
*[http://www.kyngchaos.com/files/software/unixport/GEOS_Framework-3.1.1-2.dmg GEOS]
 +
*[http://www.kyngchaos.com/files/software/unixport/PROJ_Framework-4.6.1-3.dmg PROJ]
 +
*[http://www.kyngchaos.com/files/software/unixport/SQLite3_Framework-3.6.16-1.dmg SQLite]
 +
*[http://www.kyngchaos.com/files/software/unixport/UnixImageIO_Framework-1.0.31.dmg UnixImageIO]
 +
*[http://www.kyngchaos.com/files/software/unixport/GDAL_Framework-1.6.1-8.dmg GDAL]
  
==R==
+
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.
Currently, the latest release of R is version 2.9.1. However, due to some issues with the R interface, version 2.8.0 was used.
+
==Packages==
===Downloading===
+
*[http://www.kyngchaos.com/files/software/unixport/rgdal-0.6.8-2.zip rgdal]
*Visit this website [http://cran.case.edu/ here]
+
**Once the zip file has been downloaded, open R Preferences
*Select your operating system
+
**Go to the Startup Pane and select '''Add ~/Library/R...''' under Default Library Paths
*Scroll down to the end of the page and select '''old'''
+
**Under the '''Packages & Data''' menu, open the '''Packages Installer'''
*Scroll down the page to find version '''2.8.0''' and select it
+
**Select '''At User Level''' at the bottom of the window as well as '''install dependencies''' on the bottom right hand corner
*The file should start downloading
+
**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
  
===Installing===
+
R can now be run within OpenOSX Grass by typing '''R''' in the terminal once Grass is open.
*Once the file is finished downloading double-click the image if it does not auto-mount
 
*Double-click the package and follow the on-screen instructions
 
  
 
+
=QGIS/GRASS Plugin=
==GRASS==
+
*In order to import/load and manipulate data with QGIS, the GRASS Plugin needs to be installed
===Downloading===
+
*This can be done by opening QGIS and looking under the Plugins menu
*OpenOSX Grass can be found [http://www.openosx.com/grass/freedownload.html here]
+
*Select Manage Plugins
*Scroll down the page and select version 6.3.0 for either Intel or PPC
+
*Scroll down to find the GRASS plugin and select it
*The file should start downloading
+
*Hit OK and you should see a toolbar with GRASS menu options
 
 
===Installing===
 

Latest revision as of 13:51, 12 August 2009

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

To install QGIS you have to drag the Application icon from the disk image to your Applications folder

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.

QGIS/GRASS Plugin

  • In order to import/load and manipulate data with QGIS, the GRASS Plugin needs to be installed
  • This can be done by opening QGIS and looking under the Plugins menu
  • Select Manage Plugins
  • Scroll down to find the GRASS plugin and select it
  • Hit OK and you should see a toolbar with GRASS menu options