Description Usage Arguments Details Value Author(s) Examples
Loads requested package into memory via the library
function, first using install.packages
to download requested pacakge if not already downloaded.
1 | load.package(x, mirror=getOption("repos")[[1]])
|
x |
The name of the package to be loaded, as a character string. |
mirror |
The name of the CRAN mirror site from which any package that needs installing is to be sourced. The default is to use the currenly assigned mirror sits using the command |
If the mirror
is undefined or unresponsive, an alternative mirror can be specified. E.g. mirror = "http://www.stats.bris.ac.uk/R/"
. For a full set of available mirror sites, see https://cran.r-project.org/mirrors.html.
None
Paul Williamson
1 2 | ## Not run:
## Not run: load.package("ENVS450")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.