Learn R Programming

define (version 0.2.9)

as.submission: Create a submission.

Description

Returns a list of vetted artifacts (spec or char corresponding to x) that represent a submission object for further processing.

Converts a character vector of file names to class submission.

Usage

as.submission(x, ...)

# S3 method for character as.submission( x, tag = names(x), description = basename(x), dir = ".", subdir = NULL, ... )

Arguments

x

filenames: xpt, csv, spec, txt, other

...

passed along to handlers

tag

short names for each element of x

description

informative multi-word label for each element of x

dir

parent directory for placement of submission artifacts

subdir

optional subdirectories relative to dir for each submission artifact

Value

a list of artifacts each having attributes: x, tag, des, file, spec

Methods (by class)

  • character: character method for as.submission