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

### 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.

### Note

The package `stjudem` by now is a Bioconductor example data package, too. Thus, you can also install it using the `biocLite` function. Try the following: `source("http://www.bioconductor.org/biocLite.R");biocLite("stjudem")`

### Author(s)

Joern Toedling

### See Also

`install.packages`

### Examples

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

[Package macat version 1.18.0 Index]