require(rstudioapi)
setupSourceMain = function() {
rstudioapi::insertText(
"source( 'S:/Advantage Data/DHR-Analytics/code/main.R' )"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.