copy.dir {componentSkeleton}R Documentation

Copy Directory

Description

Copies recursively files from source directory to destination directory. If the destination directory does not exist, it's created.

Usage

copy.dir(source.directory, dest.directory, allow.duplicates=FALSE, exclude.names=character())

Arguments

source.directory

Source directory.

dest.directory

Destination directory.

allow.duplicates

If 'FALSE' an error will be produced if the destination directory already contains the file which is copied from the sourde directory. If 'TRUE' no error is produced but the file is not overwritten.

exclude.names

A character vector of filenames not to copy.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]