powered by
Convert .mm into a .R script
mm2r(filepattern = "*.mm$", path = ".", savefile = TRUE, savefilename = NA, backup = TRUE, heading = " --------")
the pattern of the file names
the path of the folder which contains the .Rmd or .md files
logical. Whether to save the output as a file.
the destinated file name
logical. whether backup the existent file
the indicator of the headings
a .R script
# NOT RUN { path <- system.file("examples/mm", package = "mindr") mm2r(path = path) # }
Run the code above in your browser using DataLab