Deciphering an error message

394 views
Skip to first unread message

bsp...@ncsu.edu

unread,
Feb 14, 2019, 8:54:22 AM2/14/19
to R-inla discussion group
hi,

I was recently attempting to predictor responses in a spatial model and after about a week of runtime, I finally get this error message:

Error in inla.inlaprogram.has.crashed() : 
  The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully.
  If this does not help, please contact the developers at <he...@r-inla.org>.
In addition: Warning messages:
1: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
2: In doTryCatch(return(expr), name, parentenv, handler) :
  cannot pop the top-level viewport ('grid' and 'graphics' output mixed?)
3: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
4: In doTryCatch(return(expr), name, parentenv, handler) :
  cannot pop the top-level viewport ('grid' and 'graphics' output mixed?)
5: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
6: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
7: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
8: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
9: In UseMethod("depth") :
  no applicable method for 'depth' applied to an object of class "NULL"
10: running command '"/Documents/R/win-library/3.4/INLA/bin/windows/64bit/inla.exe"  -b -s -v  -t 8  "\AppData\Local\Temp\RtmpqozeQQ\file31582e643aec/Model.ini"' had status 255


Any leads on what happened? Thanks!

INLA help

unread,
Feb 14, 2019, 9:28:52 AM2/14/19
to bsp...@ncsu.edu, R-inla discussion group
Need more info.  Preferably, code and data to rerun it here 

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To post to this group, send email to r-inla-disc...@googlegroups.com.
Visit this group at https://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.

bsp...@ncsu.edu

unread,
Feb 14, 2019, 9:45:59 AM2/14/19
to R-inla discussion group
Sure thing. Here is a zip with the simplified script and inla.stack.

Note that the model ran just fine until I added in the data that I wanted to predict responses to. 
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion-group+unsub...@googlegroups.com.
inla_error_message_bspease.zip

Helpdesk

unread,
Feb 15, 2019, 8:43:39 AM2/15/19
to bsp...@ncsu.edu, R-inla discussion group
> spde
Error: object 'spde' not found
Håvard Rue
Helpdesk
he...@r-inla.org

Helpdesk

unread,
Feb 15, 2019, 8:50:48 AM2/15/19
to bsp...@ncsu.edu, R-inla discussion group
I just looked over the model, and its complicated in the sense of
many 'spde' fields. Any chance you may say these are replicated,
sharing the same hyperparameters??

SVC <- y ~ -1 + year3 + Project3 + julian_sc + offset(effort) +
f(w, model = spde, constr = F) + #prd
f(w2, model = spde, constr = F) + #hden
f(w3, model = spde, constr = F) + #forest
f(w4, model = spde, constr = F) + #ag
f(w5, model = spde, constr = F) + #hden_for
f(w6, model = spde, constr = F) #intercept

Brent Pease

unread,
Feb 15, 2019, 11:04:26 AM2/15/19
to he...@r-inla.org, R-inla discussion group
Thanks for taking a look. I agree, complicated model. I am attempting to program a spatially varying coefficients model. I followed some earlier advice from Finn for programming the SVC model with use of an inla.stack, but now I am trying to predict from the above model.

The Ws are not replicated - they represent different covariates believed to vary in their effect over space - but the SPDEs are duplicated. Is there a way I can specify this in the hyperparameters for the model to run more smoothly?

Thanks for your time,
Brent
--
Brent Pease

Doctoral Student - Fisheries, Wildlife, and Conservation Biology
Department of Forestry and Environmental Resources
North Carolina State University
Raleigh, NC 27695

INLA help

unread,
Feb 15, 2019, 12:53:50 PM2/15/19
to Brent Pease, R-inla discussion group
I ment replicate in distribution.  

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages