William Denton <w...@pobox.com> writes: >> You might have set some customization that overrides `default-directory' >> setting in ESS. > > You were quite right---thanks for checking. Recently ESS changed > ess-startup-directory and now it's aware of projects. I'd recently put some > files under Git, which made them a project. So it was ESS, nor R. > > For the record, this will stop that: > > (setq ess-startup-directory 'default-directory) ;; "Always start the process > in the directory of the current file" > > But I have another R problem that does seem to be with Org, coming next ...
I think this specific issue might be solved on Org side. We can let-bind `ess-startup-directory' to 'default-directory while running R source blocks. CCing the maintainer. Jeremie, what do you think? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>