powered by
Convert .R scripts into a .Rmd file
r2rmd(filepattern = "*.R$", savefile = TRUE, path = ".", savefilename = NA)
the pattern of the script file names
logical. Whether to save the output as a file.
the path of the folder which contains the .R scripts
the destinated file name
an R markdown file
# NOT RUN { path <- system.file("examples/r", package = "mindr") # r2rmd(path = path) # }
Run the code above in your browser using DataLab