I'm running the command:
file.copy(fnhdr,outdir,overwrite=TRUE)
Which successfully copies the file I want to the directory I want, but
each time it prints "FALSE" -- what does this mean, and how do I
suppress this output?
--j
--
Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307
On 09/07/2009 9:53 PM, Jonathan Greenberg wrote:> I'm running the command: > > file.copy(fnhdr,outdir,overwrite=TRUE) > > Which successfully copies the file I want to the directory I want, but > each time it prints "FALSE" -- what does this mean, and how do I > suppress this output?It means the operation failed. Suppressing the output is easy, but it probably makes more sense to try to figure out why R thinks it failed and you think it didn't. R will report that if it can't open the source or destination file, or if the file size of the destination file after copying is different than the size of the source file. Duncan Murdoch