Failed to send R code from knitr document to SublimeREPL

I am using Sublime 3 and I have a very simple question. SublimeREPL works great with R files, and Sublime perfectly compiles knitr files (using LaTeXing)

But if I want to send the R code from the knitr file (.Rnw), I get the following error:

Unable to find REPL for 'tex.latex.knitr.ing'

(By the way, I'm using Ubuntu 14.04)

Any ideas?

+2
source share
1 answer

Ok, so someone solved it here: https://github.com/wuub/SublimeREPL/issues/165#issuecomment-57658359

Just in case, someone has the same problem: this file needs to be edited:

~ / .config / sublime-text-3 / Packages / SublimeREPL / configuration / R / Main.sublime menu

and the extension area should be changed this way: "extra_scopes": ["tex.latex.knitr.ing"]

+1
source

All Articles