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
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. |
The package stjudem
by now is a Bioconductor example data
package, too. Thus, you can also install with the following:
if (!requireNamespace("BiocManager", quietly=TRUE));BiocManager::install("stjudem")
install.packages("BiocManager");BiocManager::install("stjudem")
Joern Toedling
## Not run: loaddatapkg("stjudem") # to load the data package "stjudem"