powered by
download files defined in the input list from a repository.
download_script_files(fns, tgtDir, baseDir = "https://github.com/phuse-org/phuse-scripts/raw/master", scriptDir = "data/send/PDS/Xpt")
a list containing file names
target directory for storing the files
base directory in the repository including the repo URL. Default to "https://github.com/phuse-org/phuse-scripts/raw/master"
script directory in the repository
# NOT RUN { fns <- c("dm.xpt","ex.xpt") dir <- tempdir() a <- download_script_files(fns, dir) # }
Run the code above in your browser using DataLab