Sublime Forum

Using SublimeREPL with R

#1

I’m a new user and trying to use the package SublimeREPL with R. The workflow I’d like to achieve is simple, source document on the left, R console on the right, keyboard shortcuts for sending code from source to console. It’s the keyboard shortcuts I’m having trouble with. I’ve read a blog post with instructions at http://www.kevjohnson.org/using-r-in-sublime-text-3/, but the commands described there don’t seem to work quite like I’d want, and definitely not like I’d like.

Crt+Shift+,l copies the current line to the R console, but doesn’t run it. I’d like something that works like Cmd+Return, which advances the cursor to the next line and sends the current line to R.app. In fact, if I could make that command send to REPL instead, that’d be perfect.

I’m also a little baffled that Sublime appears to treat the command prompt in the REPL R console as part of the line. This is problematic when I want to select the entire line of text but not the prompt.

Also, for some reason I can’t start REPL R from Cmd+Shift+P, but rather only from the GUI menu.

0 Likes

#2

Unfortunately REPL seems extremely buggy and unreliable, have you tried sendREPL?

0 Likes