Sublime Forum

Sublime Text build 4200 rmarkdown

#1

Hi,
I am using Sublime Text as R IDE using the packages R-IDE, SendCode, Terminus and LSP (LSP-R).
Since build 4200, the code chunk highlighting is broken and sending code to terminus doesn’t work either.
Could you please help to fix this issue ?

Here is a screenshot of a minimal example:

0 Likes

#2

R-IDE ships with a dedicated R Markdown syntax, which requires some updates.

It currently fails to find various LaTeX related contexts.

The way it includes R syntax in its own fenced code blocks no longer works due to structural changes of bundled R.sublime-syntax.

It appears there’s already an open issue on package’s repository.

Updated syntax is proposed at:

0 Likes

#3

Hello,

I am having a similar issue but instead of using R-IDE, I am using the R-BOX package. Since build 4200, the code chunk highlighting is broken but in my case I can still send code.

Would it possible to help fix this issue for this package as well?

0 Likes

#4

R-BOX’s Github repository was archived in 2020 and can’t receive any updates.

As R-IDE seems to be the intended successor of R-BOX it doesn’t make sense to fork it.

0 Likes

#5

Ok I understand, thank you for the info.

The reason I preferred to use R-BOX is because it allowed me to send a whole chunk (as opposed to line by line) by sending code from the chunk title but I am not able to do this with R-IDE. Am I missing a trick with R-IDE that allows me to send a whole chunk with a single shortcut? (I hope I am understandable)

0 Likes

#6

You can alternatively download R Markdown.sublim-syntax from R-IDE and use that instead of the one which comes with R-BOX.

0 Likes