copyFile {R.utils} | R Documentation |
Copies a file safely by first copying to a temporary file and then renaming that file.
## Default S3 method: copyFile(srcPathname, destPathname, overwrite=FALSE, ..., verbose=FALSE)
srcPathname |
The source file to be copied. |
destPathname |
The destination file to be created. |
overwrite |
If TRUE , an existing destination file is overwritten. |
... |
Not used. |
verbose |
See Verbose . |
Returns TRUE
if the file was copied succesfully.
Henrik Bengtsson (http://www.braju.com/R/)