[ESS] Permanently set working directoty
Stephen Eglen
S.J.Eglen at damtp.cam.ac.uk
Wed Aug 23 21:46:28 CEST 2006
> Actually I have done some RTFM and found section "3.5 Changing the
> startup actions", where this is described but I had problems since
> manual says
>
> "If you do not wish ESS to prompt for a starting directory when starting
> a new process, set the variable `ess-ask-for-ess-directory' to `nil'.
> In this case, the value of the variable `ess-directory' is used as the
> starting directory. The default value for this variable is your home
> directory."
>
> However, when I set the variable `ess-ask-for-ess-directory' to `nil' R
> session starts in directory of last visited file. Say I have opened file
> from "/some/where/on/my/disk" and when I fire M-x R, R starts in
> "/some/where/on/my/disk" and not from my home directory. Did I do
> anything wrong or is my reading of manual bad. However, as already noted
> above manual setting of `ess-directory' variable solves this problem.
> Perhaps manual should be modified according to this?
>
> Thank you very much for providing such a great interface!
>
hi Gregor,
I think you're right - the manual sounds out of date, I'll take a look
at clearing this up; the default shouldn't be your home directory.
Stephen
More information about the ESS-help
mailing list