RStudio and TeXworks working great together

Just now writing a reproducible report in R using RStudio on Ubuntu. So the source is a .Rnw file and I am compiling it with knitr. For the narrative part of the report it is a shame that RStudio doesn’t have autocomplete for latex styles, headings etc. But I just realised that it is possible to have the same .Rnw file open in RStudio and TeXworks at the same time. As soon as you save changes in one they are instantly updated in the other. So you can do your statistics in RStudio and just flip to the TeXworks window to do the narrative sections. Cool!
Update: the same thing works TexStudio which is also available for Ubuntu and has a useable outline view. So even better.
Screenshot from 2013-04-16 11:26:20

4 thoughts on “RStudio and TeXworks working great together

  1. Stephen Peplow says:

    Thanks so much for this—I just couldn’t get knitr working from within TexStudio and this solves the problem. References and all the rest of it seem to work just fine.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>