export,Asset-method {Allspice} | R Documentation |
Data classification
Description
Assigns category labels to new data.
Usage
export(obj, folder)
Arguments
obj |
An object of the class Asset. |
folder |
Path to a folder that will contain the asset files. |
Value
Returns the names of the files that were saved in the folder.
Examples
# Import ALL subtyping asset.
base <- system.file(package = "Allspice")
folder <- file.path(base, "subtypes")
a <- asset(folder)
# Export asset into a new folder.
tpath <- tempfile()
fnames <- export(a, folder = tpath)
print(dir(tpath))
[Package Allspice version 1.0.7 Index]