6

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.
  • Suggested desirable features would also be helpful for the question. – kennyB Feb 11 '15 at 21:50
  • Since I don't use that kind of file I'm not sure but maybe Geany could work. – Sigur Feb 11 '15 at 23:38
  • 1
    Maybe someone could comment on texnicle: bobsoft-mac.de/texnicle/texnicle.html. Unfortunately is for MAC only. – Robert May 29 '16 at 1:20
2

Personally, I like emacs+ess+auctex. I think it hits all your points, but unfortunately it has an epic learning curve.

  • It would be fantastic if someone put together a setup guide for this (including all the bells and whistles stuff) - I know all the pieces exist in various places but it's a nightmare to put it all together. – kennyB Feb 16 '15 at 22:15
1

I use TexStudio (sometimes RStudio - see my other answer).

  • Auto R code completion (No)
  • Auto LaTeX code completion (Yes)
  • Cross platform (Yes)
  • Automatic display of R function documentation (No)
  • Spell check (Yes, and some grammar check)
  • Simple R console access (No)
  • Syntax highlighting for both R code and LaTeX code (No)
  • Document structure (Yes)
  • Function extraction tool (No)
1

I sometimes use RStudio (usually TexStudio - see my other answer).

  • Auto R code completion (Yes)
  • Auto LaTeX code completion (No)
  • Cross platform (Yes)
  • Automatic display of R function documentation (Yes)
  • Spell check (Yes)
  • Simple R console access (Yes)
  • Syntax highlighting for R code (Yes)
  • Syntax highlighting for LaTeX code (No)
  • Document structure (No)
  • Function extraction tool (Yes)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.