[ESS] Bibtex and Rnw files

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Tue Feb 11 14:39:23 CET 2014

>> I have been working at getting ab Rnw-based workflow going. I am
>> almost there, but have a problem with bibtex citations in my
>> document.

Tyler, another approach to consider is simply to use a Makefile.  e.g.
here's what I have for a current paper:

waverepo_paper.pdf: waverepo_paper.Rnw waverepo.bib
	Rscript -e 'knitr::knit2pdf("waverepo_paper.Rnw")'

"M-x compile" is then your friend.

Then, whether I'm  in Emacs or just at the command-line, rebuilding the
document is easy.


More information about the ESS-help mailing list