In R to use a library it must be loaded using the 'library' function. To be able to load a library it must have been previouly installed. Boxes with grey background contain code snippets.
...
Div | ||
---|---|---|
| ||
|
Currently ausplotsR must be installed directly from github using the ‘devtools’ package, which must have been previously installed. The code below installs the 'devtools' package. Rather than directly providing the URL for a CRAN mirror, we could have provided the variable 'my.repos' to which we assigned a mirror above.
...
Div | ||
---|---|---|
| ||
|
The next steps are to load the 'devetools' library and install the 'ausplotsR' package from GitHub. The GitHub site for ausplotsR contains the latest developments and information on the package; it can be found at this link.
...
Div | ||
---|---|---|
| ||
|
Now the 'ausplotsR' library can be loaded
...
Div | ||
---|---|---|
| ||
|