Unable to run selected lines in REPL R in sublime text

Follow these instructions to configure REPL for sublime text http://www.kevjohnson.org/using-r-in-sublime-text-3/

The console p> R is running. But I can not press the text on the console using the shortcuts Ctrl + Shift +, l

I have to do something wrong here, unable to figure it out myself. Any help was appreciated.

I get the following error:

Cannot find REPL for 'regexp'

Edit: add sample code

library("e1071")
data(iris)
m <- naiveBayes(Species ~ ., data = iris)
m
table(predict(m, iris), iris[,5])
+4
source share
1 answer

REPL checks the scope to find out which console to run, and returns an error if the console is not language related. Your file may not have been in R syntax.

: Command Panl (ctrl + shift + p), Set Syntax: R

+1

All Articles