@@ -19,11 +19,19 @@ An recent presentation on an overview of `dataRetrieval` and `EGRET` can be foun
...
@@ -19,11 +19,19 @@ An recent presentation on an overview of `dataRetrieval` and `EGRET` can be foun
Package Installation
Package Installation
---------------------------------
---------------------------------
To install the `EGRET` and `dataRetrieval` packages from CRAN use the following command:
The `EGRET` and `dataRetrieval` packages are only available from CRAN ([http://cran.us.r-project.org/](http://cran.us.r-project.org/)) and not from this wiki page. Thus, to download these packages and to use them you must have R installed on your computer. To download the packages, once you have started an R session the command is simply:
```R
```R
install.packages(c("dataRetrieval","EGRET"))
install.packages(c("dataRetrieval","EGRET"))
```
```
Both of these installation instructions use the "new" workflow, as shown here on the wiki, as well as described in the vignettes.
Once you have it installed them you will need to load them. Loading is done with the commands
```R
library(dataRetrieval)
library(EGRET)
```
Then you will have access to the package vignettes, to help pages, and to the code itself.