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.