copyDirectory

0th

Percentile

Copies a directory

Copies a directory.

Keywords
file
Usage
## S3 method for class 'default':
copyDirectory(from, to=".", ..., private=TRUE, recursive=TRUE)
Arguments
from
The pathname of the source directory to be copied.
to
The pathname of the destination directory.
...
Additional arguments passed to file.copy(), e.g. overwrite.
private
If TRUE, files (and directories) starting with a period is also copied, otherwise not.
recursive
If TRUE, subdirectories are copied too, otherwise not.
Value

Aliases
  • copyDirectory.default
  • copyDirectory
Documentation reproduced from package R.utils, version 1.7.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.