| loaddatapkg {macat} | R Documentation |
This function loads the data package, you need for seeing the demo and
the examples. If you have already installed the data package, it will
simply attach it via library. Otherwise it will try to download
and install the package using functions from the package
reposTools. If you have not installed reposTools either,
it will prompt you to proceed to a web page, download the package from
there, and install it manually.
loaddatapkg(mydatapkg,installDir=.libPaths()[1])
mydatapkg |
Name of the data package to load as String |
installDir |
Directory, into which the new package will be installed, if is not already installed. Defaults to the first entry of the standard installation paths. |
Joern Toedling
library, package reposTools
## Not run: loaddatapkg("stjudem") # to load the data package "stjudem"