I don't understand the matching in the R code or
the environment manipulation, but that's not an issue.
Assuming it does the right thing with arrays and vectors
and all the data types and isn't whitespace sensitive
in a way that Stan's not, it should be OK in the short
term. I'd feel more confident if there were a thorough
set of unit tests around it.
Longer term, I'm going to get around to doing better
name mangling at which point this is likely to fail and
have to be updated.
I would prefer a solution that actually queried the model
for variable names which we could make part of the stable
model API, but then somebody would have to do
the code generation for that, and Andrew's brought this up
so many times I know he doesn't want to wait.
- Bob
> --
> You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-dev+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.