Runs on Mac but not Windows 10

Hi,

I was trying to use an R package that includes some Rstan functions. The R packages runs smoothly on a Mac but when I used the package in a Window 10, it gives me an error: Exception: variable does not exist; processing stage=data initialization; variable name=mt; base type=double (in ‘string’, line 35, column 2 to column 33)
failed to create the sampler; sampling not done.

Any idea why and how to fix it? Thanks!

I accidentally hit “Save” before I was done.

Exception: variable does not exist; processing stage=data initialization

This issue arises when the data given to the Stan program doesn’t include the specified variable. Are you sure it’s in your data file?

Were you able to finish the install and run a simple example model?

The usual hangup is on the C++ tool chain, but it looks like you’re past that here.