Mercurial > repos > mingchen0919 > rmarkdown_collection_builder
comparison collection_list.Rmd @ 4:63e9500cdeec draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit 436d91722b309f61890d13d7ed28cd43c79a5c74
author | mingchen0919 |
---|---|
date | Mon, 25 Sep 2017 16:41:49 -0400 |
parents | cb6efa0f0cb6 |
children | a0c8b2b25774 |
comparison
equal
deleted
inserted
replaced
3:cb6efa0f0cb6 | 4:63e9500cdeec |
---|---|
18 | 18 |
19 ```{r 'command line arguments'} | 19 ```{r 'command line arguments'} |
20 str(opt) | 20 str(opt) |
21 ``` | 21 ``` |
22 | 22 |
23 # Rename files | |
23 | 24 |
24 ```{r 'rename files'} | 25 ```{r 'rename files'} |
25 # create directory | 26 # create directory |
26 dir.create('./files_directory') | 27 dir.create('./files_directory') |
27 # get full paths of original files | 28 # get full paths of original files |
35 # rename files | 36 # rename files |
36 file.copy(paste0('./files_directory/', original_files), | 37 file.copy(paste0('./files_directory/', original_files), |
37 paste0('./files_directory/', new_files)) | 38 paste0('./files_directory/', new_files)) |
38 ``` | 39 ``` |
39 | 40 |
40 # End | |
41 | |
42 ```{r 'test'} | |
43 ls() | |
44 ``` | |
45 |