Learn R Programming

R.filesets (version 2.15.1)

appendFiles.GenericDataFileSet: Appends a list of files to a data set

Description

Appends a list of files to a data set.

Usage

# S3 method for GenericDataFileSet
appendFiles(this, files, clone=TRUE, ..., .fileClass=getFileClass(this),
  .assertSameClass=TRUE, verbose=FALSE)

Value

Returns (invisible) the appended data set (itself).

Arguments

files

A single GenericDataFile or a list of such to be appended.

clone

If TRUE, each file is cloned before being appended.

...

Additional arguments passed to append().

.fileClass

A character string specifying the class that all files must inherit from. If NULL, *getFileClass() is used.

.assertSameClass

If TRUE, the files to be appended must inherit from the same class as the existing files (the first file).

verbose

...

Author

Henrik Bengtsson

Details

The files appended must inherit the same class as the first file of the data set, otherwise an exception is thrown.

See Also

To append a data set, see append(). For more information see GenericDataFileSet.