[ESS] Telling ess where to look for R

Rodney Sparapani rsparapa at mcw.edu
Tue Jan 22 17:25:38 CET 2013


On 01/22/2013 10:08 AM, Kevin R. Coombes wrote:
> My .emacs file contains the following two lines:
>      (setq ess-directory-containing-R "C:")
>      (require 'ess-site)
>
> This works to find versions of R stored in C:\R\R-2.15.1, etc.  On my
> machine, it does NOT work if you interchange the order of the two lines.
> After the ess-site code is loaded, something has already been set that
> does not get changed when you set the ess-directory-containing-R variable.
>
>    -- Kevin

That's correct; and that's how I usually set ESS variables myself.
But, since there are almost always options when dealing with emacs, you
can also use the customize facility to set
'ess-directory-containing-R.  The down side of customize is that some
ESS variables can not be customized.

-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-help mailing list