Prints the output of these calls to the rstudioapi package:
getActiveProject()
getActiveDocumentContext()
getSourceEditorContext()
getConsoleEditorContext()
primary_selection(getSourceEditorContext()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.