Skip to content
 
 

Repository files navigation

rgui for Sublime Text

Send code from Sublime Text to rgui on Windows. Adapted from randy3k's SendCode Sublime Package.

Features

  • Work with multiple rgui's. Code will be sent to the last active rgui.
  • Send code as text directly to the rgui console or source a temp file containing selected code (sourcig a temp file is helpful when repeatedly running selected parts of a R-script in the rgui).
  • Send code from unsaved file (helpful for quick debugs).
  • Work with clipboard within rgui (helpful for quick data transfers, e.g. from Excel)

Installation

Usage

Default keybindings:

  • f4

    Sets the working directory to the path of the current file.

  • f5

    Sources the whole (unsaved) script as a temp file. Equivalent to select all and f6 (see below).

  • f6

    Sources the selected text as a temp file.

  • f7

    If text is selected, sends the text to the rgui. If no text is selected, then it sends the current line (or block). Finally, it moves the cursor to the next line.

  • Ctrl+Insert

    Copies the contents of selected variable or the selected code output to the clipboard.

Troubleshooting

  1. R Gui on Windows

    Make sure the corresponding R program is opened when you are sending the text.

About

Some modifications to randy3k/SendCode Sublime Text package to work with (multiple) RGUIs on Windows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages