loaddatapkg {macat}R Documentation

Load data package

Description

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.

Usage

 loaddatapkg(mydatapkg,installDir=.libPaths()[1])

Arguments

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.

Author(s)

Joern Toedling

See Also

library, package reposTools

Examples

 ## Not run: loaddatapkg("stjudem") # to load the data package "stjudem"

[Package macat version 1.10.0 Index]