show.me | R Documentation |
Opens up an Rmd file in source editor and displays the corresponding HTML file in the Viewer pane. This allosw for more convenient marking with source and knitted files side-by-side.
show.me( id, module = "and", height = "maximize", online = F, url = "https://mivalek.github.io/.../marking/knitted/", offline_html_path = "../knitted" )
id |
|
module |
|
height |
|
online |
|
url |
|
offline_html_path |
|
String passed to url
may contain "..."
. If it does, it will get replace by value passed to module
. This allows for easier use accross different modules, provided the file structure of the hosting website is identical except for the module name.
Function does not return a value. It opens an .Rmd file in the source editor and a HTML file in the Viewer.
# not setting working directory show.me("marking/and/2019_20/1234.Rmd") # not setting wd, offline HTML show.me("marking/and/2019_20/1234.Rmd", offline=F, offline_thml_path = "/knitted") # setting wd setwd("marking/and/2019_20") show.me("1234")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.