问题
I'm using Sublime 3, and I have a very simple question. SublimeREPL is working perfectly with R files, and Sublime compiles perfectly the knitr files (using LaTeXing)
But if I want to send R code from a knitr file (.Rnw) I get the following error:
Cannot find REPL for 'tex.latex.knitr.ing'
(I'm using Ubuntu 14.04 by the way)
Any ideas?
回答1:
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 has to be edited:
~/.config/sublime-text-3/Packages/SublimeREPL/config/R/Main.sublime-menu
and the aditional scope has to be modified in this way:: "additional_scopes": ["tex.latex.knitr.ing"]
来源:https://stackoverflow.com/questions/25935129/unable-to-send-r-code-from-a-knitr-document-to-sublimerepl