RStudio and TeXworks working great together

December 18, 2012

(This article was first published on socialdatablog » R, and kindly contributed to R-bloggers)

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

To leave a comment for the author, please follow the link and comment on their blog: socialdatablog » R. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)