powered by
Apply pretty_namespace to Rmarkdown document
pretty_rmd( input, output = tempfile(fileext = ".Rmd"), open_output = TRUE, create_library = TRUE, chunks = NULL, ... )
character, path to input Rmd file
character, path to output Rmd file, Default: NULL
boolean, open the output on.exit, Default: TRUE
boolean, create library chunk, Default: TRUE
numeric, indicies of chunks to run on, Default: NULL
arguments to pass to pretty_namespace
character
If output is NULL then the returned lines are printed to console. If chunks is NULL then all the chunks are used.
pretty_namespace
# NOT RUN { if(interactive()){ pretty_rmd(input = system.file('example.Rmd',package = 'sinew')) } # }
Run the code above in your browser using DataLab