You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R-inla discussion group
Hello,
I'm fitting INLA models to some very sparse spatial transcriptomics data with a Poisson likelihood. I'm fitting the same model for 100s of different genes, so I need to run this on a server and later look at the results.
When fitting the model to some genes, I sometimes get the error "'vb.correction' is aborted". For the genes where this is occurring, I would like to further investigate the model and see if I can find any issues with the data / model assumptions. However, I cannot figure out how to actually capture when this is happening from the R output.
If I run
fit <- inla(..., verbose = FALSE)
and then examine fit$logfile, the 'vb.correction' message is not stored even though it is being printed in the console.
I tried just saving all console output by running sink() before running inla with verbose = TRUE, but that doesn't seem to capture any INLA output.
Any advice on how I can capture this?
Thanks,
Eric.
Helpdesk (Haavard Rue)
unread,
Feb 23, 2026, 9:22:55 PM (2 days ago) Feb 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Eric Weine, R-inla discussion group
Thank you Eric, you're right. I have fixed the code. in the next testing version
you'll see this msg's also in the logfile.
meanwhile, you can do a workaround like in the attached script to check.
hopefully the new testing version should be out next week.
PS: the issue is likely due to vague priors and maybe an excess of zero's of
your poisson data. consider using more informative priors.