copyFile

0th

Percentile

Copies a file safely

Copies a file safely by first copying to a temporary file and then renaming that file.

Keywords
internal
Usage
## S3 method for class 'default':
copyFile(srcPathname, destPathname, overwrite=FALSE, ..., verbose=FALSE)
Arguments
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.
Value

  • Returns TRUE if the file was copied succesfully.

See Also

file.copy().

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

Community examples

Looks like there are no examples yet.