Follow these instructions to configure REPL for sublime text http://www.kevjohnson.org/using-r-in-sublime-text-3/
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])
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