[Rd] Bug in file.copy: overwrite=FALSE ignored (PR#3529)

richard_raubertas at merck.com richard_raubertas at merck.com
Mon Jul 21 20:27:34 MEST 2003


I am using R 1.7.1 on Windows XP Pro.

The 'overwrite=FALSE' argument appears to be ignored in
file.copy():

> file.exists(c("file1.txt", "file2.txt"))
[1] TRUE TRUE
> file.copy(from="file2.txt", to="file1.txt", overwrite=FALSE)
[1] TRUE
> 

and sure enough, file1.txt has been overwritten.

Rich Raubertas
Biometrics Research, RY33-300
Merck & Co.

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, ...{{dropped}}



More information about the R-devel mailing list