Loads pre-generated R binary 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 data are available.

For this reason, specification of dataDir always takes precedence over dataUrl.

loadDataFile(filename = NULL, dataUrl = NULL, dataDir = NULL)

Arguments

filename

Name of the data file to be loaded.

dataUrl

Remote URL directory for data files.

dataDir

Local directory containing data files.

Value

A data object.