# [Tex/LaTex] What’s the best .Rnw editor

knitrrsweave

I'm trying to find out what people use for editing .Rnw files.

Desirable features are:

• Auto R code completion
• Auto LaTeX code completion
• Cross platform
• Automatic display of R function documentation
• Spell check
• Simple R console access
• Syntax highlighting for both R code and LaTeX code
• Document structure
• Function extraction tool for R code. With this, the user highlights a chunk of code that produces a value and the tool converts this into a function with the appropriate inputs and value.