Martin Modrák

Results 57 comments of Martin Modrák

@gowerc For your use case, there is a workaround. Note that `write_stan_file` already avoids recompilation, if the Stan code didn't change from previous calls (resolved in #495). The problem in...

I think the description is inaccurate - cmdstanr compares the timestamps of the Stan file and the executable, this has nothing to do with the session. If you are using...

I should also note that if an agreement on how this should be implemented is made, I am happy to prepare a pull request.

Started a CmdStan issue at https://github.com/stan-dev/cmdstan/issues/1178 - we'll see if there's agreement to implement this.

Thanks everybody for having this discussion, it seems there already was a lot of effort in formulating those ideas. One thing I would like to clarify: if I understand it...

Yeah, it probably is better suited for the CmdStan manual than for the main manual. For other interfaces, it is necessary to make this feature accesible first. I am planning...

It appears the `globals` package could make this a breeze (https://cran.r-project.org/web/packages/globals/index.html)

But to get things rolling for @maugavilla: My answer would differ depending on the end goal: do you to build a general integration of of the blavaan and SBC packages?...

That's a good question! In most cases there won't be a general straightforward answer to this, but there are several considerations that should influence the decision. They boil down to...

Thanks for reporting! The underlying problem is that if you look at `datasets_flat$variables`, you'll notice that it treats `x` as 2D array, so the variables are called `x[1,1], x[1,2]` ......