Difference between revisions of "R Packages"
From Age of Water
Line 24: | Line 24: | ||
To see which packages are currently loaded into your R session, type: <br /> | To see which packages are currently loaded into your R session, type: <br /> | ||
> search() | > search() | ||
+ | |||
+ | '''GLMtools''' (Not on CRAN) <br /> | ||
+ | instructions from [https://github.com/USGS-R/glmtools] | ||
+ | |||
+ | For windows use the following command in R: | ||
+ | |||
+ | >install.packages("ncdf4",repos = "http://gleon.github.com/",type = "win.binary") | ||
+ | >install.packages("glmtools",repos = c("http://gleon.github.com/", "http://cran.us.r-project.org"),dependencies = TRUE,type = "both",INSTALL_opts = "--no-multiarch") | ||
<!-- Do NOT Edit below this Line --> | <!-- Do NOT Edit below this Line --> |
Revision as of 16:44, 6 October 2014
Installing R
Installing required packages
Lake Analyzer
In R, type:
> install.packages('rLakeAnalyzer')
To use package, type:
> library(LakeAnalyzer)
see Lake Analyzer pdf for help
Lake Metabolizer
In R, type:
> install.packages('LakeMetabolizer')
To use package, type:
> library(LakeMetabolizer)
see Lake Metabolizer pdf for help
To see which packages are currently loaded into your R session, type:
> search()
GLMtools (Not on CRAN)
instructions from [1]
For windows use the following command in R:
>install.packages("ncdf4",repos = "http://gleon.github.com/",type = "win.binary") >install.packages("glmtools",repos = c("http://gleon.github.com/", "http://cran.us.r-project.org"),dependencies = TRUE,type = "both",INSTALL_opts = "--no-multiarch")