Issue with cmdstanr


I am trying to read some results from cmdstanr that i saved in format RDS. Recently, I am dealing with this code issue (see below) when reading these files and I do not understand the reason. I would appreciate any help


Error in read_cmdstan_csv(files = self$output_files(include_failed = FALSE),  : 
  Assertion on 'files' failed: File does not exist: '/tmp/RtmpX2HlzJ/probitalpha1app3-202205141746-1-5295fd.csv'.

Hey, this is because CmdStanr, in order to save RAM, does not automatically read all the sample to memory.

See How does CmdStanR work? • cmdstanr (section Saving fitted model objects).