copyDirectory {R.utils} | R Documentation |
Copies a directory
Description
Copies a directory.
Usage
## Default S3 method:
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
|
private |
If |
recursive |
If |
Details
Note that this method does not use copyFile
() to
copy the files, but file.copy
().
Value
Returns (invisibly) a character
vector
of pathnames copied.
Author(s)
Henrik Bengtsson
[Package R.utils version 2.12.3 Index]