Difference between revisions of "Software"

From Earlham CS Department
Jump to navigation Jump to search
(GRASS/R Interface)
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
*[http://cran.case.edu/bin/macosx/R-2.9.1.dmg R(2.9.1)]
 
*[http://cran.case.edu/bin/macosx/R-2.9.1.dmg R(2.9.1)]
 
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
 
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
*[http://www.openosx.com/grass/OpenOSX_Grass_6.3_Intel.dmg OpenOSX Grass(6.3.0)]
+
*[http://www.kyngchaos.com/software:grass Grass(6.4 RC5-3)]
OpenOSX Grass requires you to drag the icon from the disk image to the folder you determine to be its install location. This will generally be your Applications folder
+
''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)]
 
*[http://earth.google.com/thanks.html#os=mac Google Earth(5.0)]
Google Earth requires the same install process as OpenOSX Grass did. Again, the Applications folder is the desired location
+
Google Earth requires you to drag the application icon to the Applications folder
 
''Note: Clicking on the link will begin the download process''
 
''Note: Clicking on the link will begin the download process''
  
Line 21: Line 24:
 
==Packages==
 
==Packages==
 
*[http://www.kyngchaos.com/files/software/unixport/rgdal-0.6.8-2.zip rgdal]
 
*[http://www.kyngchaos.com/files/software/unixport/rgdal-0.6.8-2.zip rgdal]
**Once the zip file has been downloaded, open R
+
**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
 
*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

Latest revision as of 12: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