Replies: 1 comment 5 replies
-
Hi, I'm glad to hear you find future useful. It's really hard to say something useful without even a code example. One clue is in the following part of the error:
That means you are passing a non-exportable object called options(future.globals.onReference = "error") to detect this mistake sooner, i.e. without having to wait for the call to finish. Then at least you won't have to wait. Either way, note that the brms package already has built-in support for parallelization via futures, so you might not have to use futures yourself. See for example the example code of PS. Please use code-block formatting when pasting code and session out. See https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks for how to do that. |
Beta Was this translation helpful? Give feedback.
-
Dear all,
Thank you very much for the future package.
Unfortunately, I am experiencing the following issue when using the package.
I estimated a brms::brm() model (Bayesian GAMM for a binary outcome). Subsequently, I have attempted to perform a 10-fold CV for the model using the brms::kfold() function and the future’s multisession plan.
After several days of runtime, (I believe) close to the end of the CV process, the process stopped with the following error message:
Please, can you advise what this error means and how to resolve or avoid it? Many thanks.
This is the code I used to perform the CV that resulted in the error:
Unfortunately, I cannot share the data and/or model due to confidentiality issues. Please note that the data is quite large (n = 80,000) and the model quite complex (includes several spline terms and random effects) - I am not sure if that is relevant to the experienced issue.
Please let me know if you need any additional info.
Thank you very much for your help!
Best wishes,
Tom
PS1 - My system and session info:
PS2 - The full output from R Console:
Beta Was this translation helpful? Give feedback.
All reactions