Difference between revisions of "Software"
(→Packages) |
(→Packages) |
||
Line 32: | Line 32: | ||
**The package should run a script in R and will be installed once that is done | **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. |
Revision as of 09:59, 20 July 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
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
Google Earth requires the same install process as OpenOSX Grass did. Again, the Applications folder is the desired location 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.