Adds two commands to the RStudio Addins menu:
Launch Editor (cwd)
launches an external editor, passing the current working directory as an argument.Launch Editor (source)
launches an external editor, passing the path to the source pane's active document as an argument. (Or if the keyboard focus is in the Console, then you get the contents of the console input buffer in a temp file.)Use options(exteditor="path-to-editor")
to configure the editor to use. You may want to put this in your ~/.Rprofile or Rprofile.site.
Designed to work with:
options(exteditor="atom")
options(exteditor="subl")
options(exteditor="code")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.