You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cmdstan output files can get pretty large. data.table::fread used in read_cmdstan_csv and read_csv_metadata supports gzip and bzip2 compressed files if the R.utils package is installed.
On the cmdstanr side this would require at least modifying the suffix assertions (assert_file_exists) in both functions. And, switching out grep in favor of zgrep to handle the commented headers with the caveat (at least on linux) that the argument order be switched so that --color=never comes before the regex pattern.
Activity
Decompress compressed CSV files once before reading them
Convert WSL paths once and own every temporary file in the caller
Keep every temporary copy in one directory owned by the read
Read grep output from a file and simplify the PATH setup
Support compressed CSVs in read_cmdstan_csv and as_cmdstan_fit (#1217)