On Wed, 30 Nov 2016, Sven Schreiber wrote:
Hi,
I've noticed that if the workdir that is set in gretl's preferences doesn't
exist, then gretl creates it -- probably not right away, but when a (data)
file is saved.
I'm not saying this is a bug, because it could be the desired behavior. OTOH
I'm not sure if this is really intended by the gretl gods. Is it?
It's intended. If you haven't selected the option to make gretl
working directory equal to the current working directory (according
to the shell), then when gretl starts up it checks whether the
working directory specified in the gretl config file exists, and if
not it tries to create it. If that fails, it falls back to the
default working directory; that's platform-dependent, but on Linux
and Mac it's $HOME/gretl. If that in turn doesn't work (doesn't
exist and can't be created) then you get an error message.
Allin