export,Asset-method {Allspice} | R Documentation |
Assigns category labels to new data.
export(obj, folder)
obj |
An object of the class Asset. |
folder |
Path to a folder that will contain the asset files. |
Returns the names of the files that were saved in the folder.
# 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))