From richard_raubertas at merck.com  Mon Jul 21 20:27:34 2003
From: richard_raubertas at merck.com (richard_raubertas@merck.com)
Date: Mon Jul 21 19:27:26 2003
Subject: [Rd] Bug in file.copy: overwrite=FALSE ignored (PR#3529)
Message-ID: <200307211727.h6LHRYJH017824@pubhealth.ku.dk>

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}}


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