Tag Archives: sweave

escreen instead of elscreen for screen-like features in emacs

I’ve been using [elscreen](http://www.morishima.net/~naoto/software/elscreen/) for [screen](http://www.gnu.org/software/screen/)-like features in emacs the last couple of years. However, I have a few complaints. Elscreen has issues when used with `emacsclient -c`: a new frame might not be created from the `-c` argument, which messes up my current screen in emacs, and the “Opening Server Files Always in a read more »

Creating even NICER, publishable, embeddable plots using tikzDevice in R for use with LaTeX

It’s true. I like to do my work in [R](http://www.r-project.org/) and write using [LaTeX](http://www.latex-project.org/) (well, I prefer to use [org-mode](http://orgmode.org/) for less formal writing and/or if I don’t have to typeset a lot of math). I haven’t done a lot of LaTeX’ing or [Sweaving](http://www.stat.uni-muenchen.de/~leisch/Sweave/) in the last year since 1) I’ve been collaborating with scientists read more »

Emacs: AucTeX + Rubber + Sweave

I got rubber to work with AucTeX and Sweave (Rnw) files with the help of this. Basically, combined with my other stuff, I tweaked my .emacs file to look like: ;;following is AucTeX with Sweave — works ;;http://andreas.kiermeier.googlepages.com/essmaterials (setq TeX-file-extensions ‘(“Snw” “Rnw” “nw” “tex” “sty” “cls” “ltx” “texi” “texinfo”)) (add-to-list ‘auto-mode-alist ‘(“\\.Rnw\\’” . Rnw-mode)) (add-to-list read more »

sweave.sh

Now that I’ve been blogging about Sweave, I forgot to mention sweave.sh from Gregor Gorjanc which is a bash script executing R CMD Sweave with many options, such as cacheSweave. The most up to date version can be found here.

Editing/adding on to Sweave features in ESS

I really like David Whiting’s Sweave methods in ESS: M-n s M-n P and I get a compiled pdf file. However, i wanted to change it so Sweave uses the cacheSweaveDriver() when sweaving. I knew the the functions were defined in the ess-swv.el file (in my carbon emacs in Mac OS X, it is at read more »

AucTeX with Sweave

I got sweave shortcuts to work in emacs with ESS before (David Whiting’s method; see the ess-swv.el file in your emacs lisp ESS folder). Just found a way to get Sweave working with AucTeX: http://andreas.kiermeier.googlepages.com/essmaterials C-c C-c Sweave Then Latex like usual!