Displaying 1 result from an estimated 1 matches for "deskfil".
Did you mean:
deskfile
2009 Sep 21
3
Create directory and copy files in R
...to copy all files in "dir" to "deskdir" but I always got the following problem:
Error in file.exists(to) : invalid 'file' argument.
Whats the problem??
cyfun<-function(fn,dpath){
dir<-dirname(fn)
fn<-basename(fn)
deskdir<-dir.create(dpath)
file.copy(fn, deskfile)
}
Thanks!
Tammy
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx
[[alternative HTML version deleted]]