--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yeah, I had that thought for a while, but I never went for it as it means a huge rewrite of much of rstan.
So my thought was that if anyways everything is turned upside down, then we could do this. But going in small steps here hurts. I don't want to say to change that strategy.
With Stan -> R I mean how the data from Stan is brought into R. This works by initializing Rcpp data structures which can then be made accessible in the R workspace. Last time I looked at the code this was done using Rccp List objects which translate to data.frames in R. However, data.frames are horribly inefficent when it comes to dealing with chunks of matrices which is what the output from a chain is. Unless there is a reason which I haven't understood yet, then it would speed up all manipulations by a lot if we were to use matrices and only use apply methods on rstan.
However, this is a major rewrite of rstan.
Sebastian
On Friday, August 12, 2016 at 12:09:08 PM UTC+2, Bob Carpenter wrote:
> > On Aug 12, 2016, at 8:41 AM, Sebastian Weber
> >
There is more doc in Dirk's book that's sitting on my shelf :P
I'd wait for the current services refactor to make its way through rstan and then we should be able to work on this by changing the sample writer callback. Should be easier to do modular pull requests for it then. K