Skip to content
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

Infinite Error Printing - sh: findstr: command not found #52

Open
ghost opened this issue Aug 30, 2023 · 4 comments
Open

Infinite Error Printing - sh: findstr: command not found #52

ghost opened this issue Aug 30, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 30, 2023

I am running ctStanFit to receive a Bayesian estimation via Stan’s NUTS sampler. An error message is infinite loop printing while doing so. This doesn’t seem to be interfering with the underlying computation as the function appears to run to completion (albeit probably slower). The error is
sh: findstr: command not found

From a quick search of the codebase, there doesn't appear to be many instances of the findstr function. Just here and here.

As brought up by Jonah here, the below code does NOT produce the same error pattern

library(rstan)
code <- "
parameters {
  real x; 
} 
model {
  x ~ normal(0, 1);
} 
"
fit <- stan(model_code = code)

Any help is appreciated. Thanks in advance!

@cdriveraus
Copy link
Owner

cdriveraus commented Aug 30, 2023 via email

@ghost
Copy link
Author

ghost commented Aug 30, 2023

Mac OS. This is the full function call

ctStanFit( datalong      = cswim1,
                 ctstanmodel   = m1,
                 iter          = 2
                 optimize = FALSE,
                 intoverstates = TRUE,
                 algorithm = "NUTS",
                 nopriors = FALSE,
                 chains        = 4,
                 cores         = 4,
                 fit = TRUE,
                 plot=TRUE
              ) 

@cdriveraus
Copy link
Owner

cdriveraus commented Aug 30, 2023 via email

@ghost
Copy link
Author

ghost commented Aug 30, 2023

Will do. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant