Sublime Forum

Support for .Rnw files

#1

Hi,

Not sure if this is the right place to ask, but I’d like to ask if Sublime Text 2 could support .Rnw files (a/k/a, Sweave or “R noweb” files).
These are the source files for R-language vignettes and they are essentially LaTeX with chunks of R code embedded like this

…LaTeX…

<<chunkName, option1=value, option2=value>>=

R Code

@

…LaTeX…

How difficult would this be to add? Since ST2 already supports R and LaTeX separately, I’m hoping it’s not too difficult. I’m willing to help if there is a way I can do so.

Thanks,
Dan

0 Likes

#2

This should answer your question: stackoverflow.com/questions/1110 … 1#11106391

0 Likes

#3

Here is a post where we are trying to get ST2 to build .Rnw files ->https://forum.sublimetext.com/t/r-sweave-and-st2/7930/1

0 Likes