View source: R/download_script_files.R
download_script_files | R Documentation |
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" )
fns |
a list containing file names |
tgtDir |
target directory for storing the files |
baseDir |
base directory in the repository including the repo URL. Default to "https://github.com/phuse-org/phuse-scripts/raw/master" |
scriptDir |
script directory in the repository |
Hanming Tu
## Not run: fns <- c("dm.xpt","ex.xpt") dir <- tempdir() a <- download_script_files(fns, dir) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.