-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error getting Stan progress output from parallelized brms model, positron opens port in browser with error message #5920
Comments
Following up as I also tried this on my Window's PC and get the same behavior/error. System specifications:x64 Positron specifications:
|
Looks like this comes from the rstan package: Looks like the problem is the use in that file of Could you open an issue on the rstan repo asking if they would be willing to generalize their IDE checks to include Positron? They can do a similar check like As a workaround for the time being, you can trick rstan into thinking it is running in RStudio by running |
Thank you for the response! Yes, of course. I've opened an issue at rstan, here. |
Wonderful! Thank you so much for opening that issue; we're totally happy to help out if appropriate/needed. |
System details:
Positron and OS details:
M1 2020 Macbook Pro
Sonoma 14.1.1
Interpreter details:
Describe the issue:
When running a
brms:brm()
model, if the user parallelizes the sampling via thecores
argument as inbrms::brm(y~x, chains = 4, cores=4)
something unexpected happens. Although the model runs without errors in the R console and fits correctly, a port opens in a browser http://127.0.0.1:55309/f2f43fe2/file5568b9aee29_StanProgress.html with the text:If the models is not run in parallel, the progress output prints and port is opened.
Steps to reproduce the issue:
Directly in the console:
Expected or desired behavior:
The Stan progress should print to console. From my own system terminal (iTerm):
This (expected) behavior also occurs in Rstudio, and an R-interactive session from Visual Studio Code, leading me to believe it may be an issue with Positron or Ark?
Were there any error messages in the UI, Output panel, or Developer Tools console?
Yes, opens in a browser http://127.0.0.1:55309/f2f43fe2/file5568b9aee29_StanProgress.html with the text:
Edit: Just to say, fantastic IDE, I am a huge fan so far!
The text was updated successfully, but these errors were encountered: