[ESS] Using R and ess-directory

Charles C. Berry cberry at tajo.ucsd.edu
Mon Feb 5 22:07:28 CET 2007

On Mon, 5 Feb 2007, Alexander Stoddard wrote:

> Greetings,
> I am using R 2.3.1 with ESS 5.3.3 in GNU emacs 21.2 running under Mac
> OS 10.4.
> I am hoping to use a customization as described in section 7.8 of the
> manual, "Names and locations of dump files", to set the ess-source-
> directory like so:
> (setq ess-source-directory
>            (lambda ()
>               (concat ess-directory "Src/")))
> Reading section 3.5 "Changing the startup actions" makes me expect
> the default behavior (with ess-ask-for-ess-directory set to "t") to
> set the value of ess-directory. However it seems that ess-directory
> is still nil after starting R with "M-R". (I note that a variable
> called "default-directory" is set to directory where I start R).
> Do I need to set ess-directory manually or is something wrong?


 	(setq ess-source-directory "Src/")

in my inferior-ess-mode-hook section seems to do it.

ess-directory IS nil.

Browse ess-cust.el. Possibly the docs are dated.

> Many thanks,
> Alex Stoddard
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	         UC San Diego
http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0901

More information about the ESS-help mailing list