powered by
Copy files, overwriting existing files if necessary, and returning the result invisibly.
cp(from, to)
source file names. Multiple filenames can be matched using wildcard notation, such as *.csv to copy all CSV files.
*.csv
destination file names, or directory.
TRUE for success, FALSE for failure, invisibly.
TRUE
FALSE
file.copy is the base function to copy files.
file.copy
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { write(pi, "A.txt") cp("A.txt", "B.txt") file.remove("A.txt", "B.txt") # } # NOT RUN { # }
Run the code above in your browser using DataLab