Closed
Description
Someone told me that they were having troubles specifying the output_dir
argument with a trailing slash. I checked in Linux and it works so maybe this is a Windows thing?
Close if it's not possible to reproduce.
Here's a model:
parameters {
real a;
}
model {
a ~ normal(0, 1);
}
Here's R to get an error:
library(cmdstanr)
model = cmdstan_model("test.stan")
dir.create("whatever")
fit = model$sample(output_dir = "./whatever/")