Ads by Google

Thursday, January 16, 2014

ESS R integration with Win32 Emacs

I've had R installed for quite some time and I thought I'd give ESS a spin with it.  Turns out, I just had to do this to get it working on Win 7.

(setq load-path (cons "c:/gnu/elisp/R/ESS/lisp" load-path))
(require 'ess-site)
(setq-default inferior-R-program-name "C:\\R\\R-2.15.1\\bin\\x64\\Rterm.exe")

And I could invoke R from Emacs and send code to the inferior process to execute.   However, I do get the following messages which I'm not sure why it turns up.

Finding all versions of R on your system...
Sorry, no version of R could be found on your system.

Anyone know why it happens?