Re: [ESS] working directory lost when R session closes

2017-07-17 Thread Mathieu Basille
Well your init file seems very slim to me. At this stage, I would not even worry about it… My own init file is getting close to 700 lines, expurgated from all comments! If yours grows significantly, you may want to modularize it, or use use-package, or, as I did, use Org-mode to keep it readable.

Re: [ESS] working directory lost when R session closes

2017-07-17 Thread Martin Maechler
> Paul Johnson > on Fri, 14 Jul 2017 09:31:31 -0500 writes: > Do you notice this: > cd into a folder, say "~/tmp/project/R" and start emacs with a file in > there. The working directory correctly shows "~/tmp/project/R". > Then launch an R

[ESS] working directory lost when R session closes

2017-07-14 Thread Paul Johnson
Do you notice this: cd into a folder, say "~/tmp/project/R" and start emacs with a file in there. The working directory correctly shows "~/tmp/project/R". Then launch an R session. When you quit the R session, and start a new R session, the working directory changed, it becomes "~/tmp/project".