Skip to content

Instantly share code, notes, and snippets.

@stubedston
stubedston / sublime_send_to_rstudio.md
Last active October 7, 2025 08:15
Send Code From Sublime Text To RStudio

Send Code To RStudio

Approach

  • Start a detached, tiny, local HTTP server from RStudio.
  • From Sublime Text, make a POST request to the server, with the code as data.
  • Tiny server receives POST request and executes the code in the R console.

Get started