On 12/1/13, 5:26 PM, Ben Goodrich wrote:
> On Friday, November 29, 2013 1:36:58 PM UTC-5, Ben Goodrich wrote:
>
> I was thinking of writing a Bash script that would walk through the specification of all the arguments interactively
>
>
> I went through with that, so see the attached script. Judging from the fact that it took me N takes to write it, it is
> probably pretty fragile in addition to being Bash-centric, possibly GNU-centric (it uses sed, awk, grep, and parallel),
> and unlikely to work as is on Windows even if you have the tools installed. But it does now work for me, as can be seen
> from the attached text file.
>
> Somebody with a different setup tell me if it works for you. You can turn on tracing with the -x switch as in
>
> |
> bash -x stanhelper.sh STANMODEL CHAINS
> |
I'd rather not start distributing scripts with extensive
dependencies as part of Stan.
I think it'll be easier to maintain if we just fix the
command-line tool to do what we want. But I can understand
that it's not going to be a high priority and you may want
it now. And we may not be able to generate a consensus on
what the command-line tool should do.
Michael --- what do you think?
So maybe you (Ben) could put it in something like its own
repository along the lines of the gnu-plot-based diagnostics
Michael has created and the emacs mode.
(Sorry if this was your intent all along. I don't mind
stating the obvious, but it can be annoying for readers.)
> Some more annoying things with the command-line: Stan v1.3.0 would append the chain id to the output file automatically
> but Stan v2.0.1 does not (so the example on page 29 of the manual is flawed because it writes to the same samples.csv
> file four times).
I'll fix the manual. I added Ben's comment to the existing
issue for updating the manual:
https://github.com/stan-dev/stan/issues/325?source=cc
> Also Stan v1.3.0 allowed refresh to be zero or negative to suppress the output but Stan v2.0.1 does not.
Good idea. Let's see what Michael says. I created a new issue with
milestone "future" and nobody assigned:
https://github.com/stan-dev/stan/issues/427
- Bob