Skip to content

Faster extraction of posterior samples from Stan output #78

Closed
@helske

Description

@helske

Currently returning the posterior samples from Stan to R is very slow due to the CSV reading implemented in rstan, as is documented for example in here: stan-dev/rstan#1018. There is now faster CSV reading inbrms and also in cmdstanr. At least for cmdstanr backend we could use cmdstanr::read_cmdstan_csv (which also allows us to omit some variables from the output as in rstan), but as we work with the stanfit object in the post processing, we need some extra steps to convert the cmdstanr output to stanfit object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions