Tag Archives: emacs speaks statistics

using R + ess-remote with screen in emacs

Dear list, I brought up [this](https://stat.ethz.ch/pipermail/ess-help/2009-June/005388.html) issue before but a good solution never arised: being able to use screen on a remote server (so if something goes wrong on my side I can always resume that R session) inside of emacs in order to utilize ESS. The closest [thing](http://blog.nguyenvq.com/2009/06/01/run-screen-in-emacs-with-ansi-term-combine-this-with-emacs-ess-remote-r/) I found to a good work read more »

Run screen in emacs with ansi-term (combine this with emacs + ess + remote R)

This is actually an update to this post, but since I discovered a few more things, I’ll write a new post. To run screen within a shell buffer in emacs, I tried M-x shell and fired up screen (ditto with M-x term). It gave me this error: Clear screen capability required. I found the solution read more »

Run a remote R session in emacs: emacs + ESS + R + ssh

I don’t know how, but somehow, I stumbled on how to run a remote R session in emacs. Since Spring 2006 I’ve always used emacs with ESS to run R (did it on windows, switched to linux for years, and most recently, on my macbook). I liked this workflow because I get the same usual 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!