kathryntmorrison / inla

Automatically exported from code.google.com/p/inla
0 stars 0 forks source link

inla() crashes when called with verbose=TRUE in winXP #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Calling inla() with verbose=TUE in R 2.12.0 (32-bit) on winXP produces
an error:
        hgid: a0c0bfeb8445  date: Sat May 07 14:36:59 2011 +0200
Report bugs to <hrue@math.ntnu.no>

*** Error: Can only process one .INI-file at the time.
This is true both for keep=TRUE and keep=FALSE.

The complete call:
mesh <- inla.mesh.create(X[,2:3],extend=list(n=16,offset=-.25),
                  refine=list(min.angle=21),cutoff=2)
A <- inla.mesh.project(mesh, as.matrix(X[,2:3]))$A
spde <- inla.spde.create(mesh, model="matern", param=list(alpha=2))
formula <- locCa ~ 1 + x + y + f(spatial, model=spde)
spde.idx <- 1:spde$mesh$n
data <- (list(locCa=X$logCa, x=mesh$loc[,1],
               y=mesh$loc[,2], spatial=spde.idx, spde=spde))
r  = inla(formula, family="gaussian", data = data, verbose=TRUE,
    control.predictor = list(A=A) )

Original issue reported on code.google.com by f98...@gmail.com on 16 May 2011 at 11:36

GoogleCodeExporter commented 9 years ago
Changeset 1010 fixes this. 

Original comment by havard.rue on 16 May 2011 at 12:25