Description Usage Arguments Details Author(s)
Converts markdown text to comments (following roxygen protocol) and optionally comments out code chunks that produce plots.
1 |
x |
the Rmd file |
file |
the file to write to, defaults to same name as |
noPlots |
logical, should plotting chunks be commented out |
rmTags |
logical, should code chunk tags be removed |
stripMD |
logical, should markdown text be removed |
This function is inspired by code from Kevin Keena
(http://rstudio-pubs-static.s3.amazonaws.com/12734_0a38887f19a34d92b7311a2c9cb15022.html).
However, rmd2r
is a complete re-write and adds the functionallity to specify a file
in which to write the outpu and also the option to comment out plotting chunks (useful,
e.g., if you'd like to run the script in the background)
Andy Rominger <ajrominger@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.