I use ess to run R and have encountered an annoying change that now when I start an R process with ess it defaults to starting in what is apparently the root of the project not the directory of the file in the buffer I'm in. For example if I'm editing a file in an R package that is in the
~/projects/my_package/tests/ directory and press
C-c r I am prompted with:
"R starting project directory? ~/projects/my/package/"
But a previous behaviour which I think is more intuitive was for the default to start in the directory that the file i saved (
I read this: https://ess.r-project.org/Manual/ess.html#Customizing-startup and interpret that ess determines the working directory in some way that I am not happy with. Is there a way to change this behaviour?