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

Long vectors not supported #3

Open
george-githinji opened this issue May 2, 2017 · 2 comments
Open

Long vectors not supported #3

george-githinji opened this issue May 2, 2017 · 2 comments

Comments

@george-githinji
Copy link

I ran the model against a long vector (15,100). Running the model with a normal prior runs OK but running the same with a Laplace prior gives an error on completion.

Error in sendMaster(try(eval(expr, env), silent = TRUE)) :
  long vectors not supported yet: fork.c:376
Error in FUN(X[[i]], ...) :
  trying to get slot "mode" from an object (class "try-error") that is not an S4 object
In addition: Warning message:
In parallel::mclapply(1:chains, FUN = callFun, mc.preschedule = FALSE,  :
  4 function calls resulted in an error

The error could be R specific but I am not sure if it has to do with the class of model fit object. What are your thoughts?

@jrfaulkner
Copy link
Owner

jrfaulkner commented May 2, 2017 via email

@george-githinji
Copy link
Author

Yes, it does look like variant of stan-dev/rstan#378 issue. I will ran with fewer iterations and chains and assess the convergence. Glad you will look into the issue. Many thanks.

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

2 participants