Hi,
When I try to predict means of an asreml object using the predict() function, R crashes with the following message:
> oats.pv <- predict(oats.sm,classify="Variety:Nitrogen",
+ sed=list("Variety:Nitrogen"=T))
asreml(): 3.00 Library: 3.01fe IA32 Run: Wed Feb 3 17:09:36 2010
Equations: 44 (20 dense)
Initial update shrinkage factor: 0.316
*** caught segfault ***
address 0xc06f3568, cause 'memory not mapped'
Traceback:
1: .Call("casr", asr.vec, iarg, dpmv, asr.inter, asr.struc, asr.struc$ainv, asr.glm, asr.predict, constr, mbfList, control, aiopt, asr)
2: asreml.call(data, asr.inter, asr.struc, asr.glm, asr.predict$predict, asr.predict, weights, offset, multivariate, ntrt, control, keep, constraints, dpmv, debug)
3: asreml(fixed = yield ~ Variety + Nitrogen + Variety:Nitrogen, random = ~Blocks + Blocks:Wplots, data = oats, predict = prd, R.param = object$R.param, G.param = object$G.param)
4: eval(expr, envir, enclos)
5: eval(newcall, sys.parent())
6: update.asreml(object, predict = prd, ...)
7: update(object, predict = prd, ...)
8: predict.asreml(oats.sm, classify = "Variety:Nitrogen", sed = list(`Variety:Nitrogen` = T))
9: predict(oats.sm, classify = "Variety:Nitrogen", sed = list(`Variety:Nitrogen` = T))
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
The example above is using the sample data "oats" that comes with the ASReml-R package but I get the same result with my own data.
Normally 'memory not mapped' means that there is not enough main memory available in R, but the dataset is not that big and I can do the analysis in R without any problem.
Can anybody help me figuring out this?
Thanks,
Marc.
> sessionInfo()
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lattice_0.18-3 asreml_3.01
loaded via a namespace (and not attached):
[1] grid_2.10.1[/code]
-------------------- m2f --------------------
Sent using Mail2Forum (http://www.mail2forum.com).
Read this topic online here:
http://www.vsni.co.uk/forum/viewtopic.php?p=1366#1366
-------------------- m2f --------------------
Received on Thu Feb 04 2010 - 00:22:44 EST
This webpage is part of the ASReml-l discussion list archives 2004-2010. More information on ASReml can be found at the VSN website. This discussion list is now deprecated - please use the VSN forum for discussion on ASReml. (These online archives were generated using the hypermail package.)