Try this:
sourceDir <- "C:\\temp\\"
destDir <- "C:\\new\\new"
if(is.na(file.info(destDir)$isdir))
dir.create(destDir, recursive = TRUE)
file.copy(dir(sourceDir, full.names = TRUE), destDir)
On Tue, Sep 22, 2009 at 5:59 AM, Tammy Ma wrote:
>
> Dear R-users,
>
> I have a problem:
>
> I h
On Sep 22, 2009, at 4:59 AM, Tammy Ma wrote:
Dear R-users,
I have a problem:
I have many files in the directory:"C:/Documents and Settings/lma/
Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha"
I want to copy those files into the new directory: "C:/Documents and
Settings/lma/My Document
Dear R-users,
I have a problem:
I have many files in the directory:"C:/Documents and
Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha"
I want to copy those files into the new directory: "C:/Documents and
Settings/lma/My Documents/Juha/book" (<-use "paste"), I first create the
dir
3 matches
Mail list logo