loaddatapkg: Load data package

Description Usage Arguments Note Author(s) See Also Examples

View source: R/loaddatapkg.R

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

1
 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 with the following command: BiocManager::install('stjudem')

Author(s)

Joern Toedling

See Also

install.packages

Examples

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

macat documentation built on Nov. 8, 2020, 5:44 p.m.