Displaying 1 result from an estimated 1 matches for "cis_study_backup".
2014 Nov 14
1
file.copy
...R.script and the console are shown below.
Any help/hints will be appreciated.
Thanks,
Pradip Muhuri
######################### R script #####################################################
#file.copy.R
#identify the folders
fromFolder <- "H:/R/cis_study"
toFolder <- "F:/cis_study_backup"
# find the list of files to copy
list.of.files <- list.files(fromFolder, ".R$")
# print objects
print(c(fromFolder, toFolder, list.of.files))
options(warn=1)
# copy the files to the toFolder - THIS DOES NOT WORK WHILE EVERYTHING PRIOR HAS WORKED
file.copy(list.of.files, toFo...