Loads pre-generated .rda files from a URL or a local
directory. This function is intended to be called by other ~_load()
functions and can remove internet latencies when local versions of daata are
available.
For this reason, specification of dataDir
always takes precedence over
dataUrl
.
loadDataFile(filename = NULL, dataUrl = NULL, dataDir = NULL)
filename | Name of the data file to be loaded. |
---|---|
dataUrl | Remote URL directory for data files. |
dataDir | Local directory containing data files. |
A data object.