Site icon R-bloggers

Sweave with Emacs and ESS, problem solved!

[This article was first published on Shige's Research Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
With help from Seb, the nagging problem I had when trying to sweaving with Emacs and ESS (http://old.nabble.com/ESS-and-Sweave-td28339734.html) has been solved.

First of all, apply the patch for ess-swv.el, provided by Seb. Second, set the default pdf viewer for ESS by “C-h v ess-pdf-viewer-pref “, then change the value from “nill” to “evince”. Now I can directly sweave my Rnw document by pressing “M-n s”, and see the pdf output by pressing “M-s P”.

It has been a quite pleasant experience interacting with free software developer/maintainer.

By the way, Emacs 23.2 just got out, and it looks great on my Ubuntu box (the scale problem that comes with the proprietary Nvidia driver is gone).

To leave a comment for the author, please follow the link and comment on their blog: Shige's Research Blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.