Problems interfacing with Stan #3720
Replies: 2 comments 4 replies
-
Thanks for trying out Positron @ZachBroeren! Can you share a small reproducible example of a Stan model that works in RStudio but does not work in Positron? |
Beta Was this translation helpful? Give feedback.
-
Thank you, I apologize for not using reprex() for the past code - I hope this is more specifically what I should be doing. I re-ran your code with the epilepsy dataset and unfortunately I am getting an error with the model. I've checked out some stan forums where the advice was to uninstall and reinstall "rstan" and "StanHeaders" but that does appear to help here. library(brms) fit1 <- brm( Created on 2024-07-01 with reprex v2.1.0 |
Beta Was this translation helpful? Give feedback.
-
Hi!
Been messing around with positron this afternoon and I really like it so far. I know it's in the beta and not everything is flushed out yet, but I just wanted to draw attention that positron is having some difficulty interfacing with stan. I first was working through a model utilizing the brms package and got the error "Error in
sink()
:" at type = "output". I tried to trouble shoot it by uninstalling and reinstalling rstan from the source to no avail. I also checked it with an older different model that calls on stan directly with the stan() function and in RStudio it is running all fine but in Positron it is breaking as well. I should also note, that the brms model that was breaking in positron worked in RStudio and I downloaded the stan extension to positron to try to fix it. I could definitely be missing something, hence what is causing the problem in positron, but I am curious if any one else is having similar problems.Either way, I am really excited to see where positron can go!
Beta Was this translation helpful? Give feedback.
All reactions