.is_running_in_chunk | R Documentation |
Check if the current code is being executed in a document chunk in an RStudio session or when being knitted.
.is_running_in_chunk()
TRUE is being knitted OR running in chunk in RStudio FALSE if not interactive or interactive but in console in RStudio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.