Learn R Programming

Allspice (version 1.0.7)

export,Asset-method: Data classification

Description

Assigns category labels to new data.

Usage

export(obj, folder)

Value

Returns the names of the files that were saved in the folder.

Arguments

obj

An object of the class Asset.

folder

Path to a folder that will contain the asset files.

Examples

Run this code
# 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))

Run the code above in your browser using DataLab