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
I was playing around with a simple model for a teaching demonstration and I noticed that if I paste code into the analysis/data script. I get the following errors:
If I paste the following R code into the data script
Error: <text>:1:14: unexpected invalid token
1: data <- list(
^
Error: [stan-playground] data must be a list
hL: Can't convert object of type null to string.
But if I delete all the code, save, and click “generate example”, delete the generated code and paste the original, I get no error.
The same is true for the analysis script, except the error encountered there is:
Reported on the Stan User Forums https://discourse.mc-stan.org/t/stan-playground-issues-with-pasting-scripts/37498
We suspect this is an issue with WebR interacting poorly with Windows-style CRLF line endings.
The text was updated successfully, but these errors were encountered: