Convert .md or .Rmd files into a .R script
md2r(filepattern = "*.[R]*md$", path = ".", savefilename = NA, backup = TRUE, heading = " --------", body = "#")
| filepattern | the pattern of the file names |
|---|---|
| path | the path of the folder which contains the .Rmd or .md files |
| savefilename | the destinated file name |
| backup | logical. whether backup the existent file |
| heading | the indicator of the headings |
| body | the indicator of the body text |
a .R script
#>