View source: R/setting_environment.R
ksource | R Documentation |
Function extracted from : https://stackoverflow.com/questions/10966109/how-to-source-r-markdown-file-like-sourcemyfile-r Sources an Rmd file by creating a temporary R file. Aim : source Rmd files as .R files (not possible at this moment)
ksource(x, ...)
x |
path to the Rmd file |
Example use (not run) : ksource("vignettes/prepare_and_run_GDM.Rmd")
the output of the sourced file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.