Convert .R scripts into a .md/.Rmd file
r2md(filepattern = "*.R$", path = ".", savefilename = NA, backup = TRUE, body = "#' ")
| filepattern | the pattern of the script file names |
|---|---|
| path | the path of the folder which contains the .R scripts |
| savefilename | the destinated file name |
| backup | logical. whether backup the existent file |
| body | the indicator of the body text |
a markdown file
r2md()#>