Description Usage Arguments Author(s) Examples
View source: R/download_script_files.R
download files defined in the input list from a repository.
| 1 2 3 | 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
| 1 2 3 4 5 6 | ## 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.