Skip to content
Prev 17174 / 20628 Next

Unclear output from MCMCglmm with categorical predictors

Hi Jarrod,
Many thanks for your reply.

I couldn't install the tarball on R v3.4.3 or v3.5.1 so sourced the files
directly to the workspace.
I tried to run this model as you suggested:
random = ~ animal,
               prior = list(R = list(fix=1, V=1e-15), G = list(G1 =
list(V=1, nu=0.002))),
               pedigree = datatree,
               reduced = TRUE,
               burnin = 50000, nitt = 750001, thin = 700,
               family = "threshold",
               data = Rdata,
               pl = TRUE, saveX = TRUE, saveZ = TRUE,
               verbose = TRUE)

It returns some errors about missing functions "is.positive.definite" and
"Matrix", which I addressed with:
but I can't figure this one out:
'Error in .C("MCMCglmm", as.double(data$MCMC_y),
as.double(data$MCMC_y.additional),  :
  C symbol name "MCMCglmm" not in load table'
Detaching these packages doesn't necessarily cause that same error to
appear although I execute the exact same code.
Also, several attempts (same code again) caused a fatal error and automatic
session termination (info for a similar session below if interesting).

I tried to use the fully bifurcating tree as an experiment but that made no
difference.

Any ideas what this last error means?

Thanks!
Roi
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United
Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C                            LC_TIME=English_United
Kingdom.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] corpcor_1.6.9   Matrix_1.2-14   phytools_0.6-60 maps_3.3.0
ape_5.2

loaded via a namespace (and not attached):
 [1] igraph_1.2.2            Rcpp_0.12.19            magrittr_1.5
  MASS_7.3-50             mnormt_1.5-5
 [6] scatterplot3d_0.3-41    lattice_0.20-35         quadprog_1.5-5
  fastmatch_1.1-0         tools_3.5.1
[11] parallel_3.5.1          grid_3.5.1              nlme_3.1-137
  clusterGeneration_1.3.4 phangorn_2.4.0
[16] plotrix_3.7-4           coda_0.19-2             yaml_2.2.0
  numDeriv_2016.8-1       animation_2.5
[21] compiler_3.5.1          combinat_0.0-8          expm_0.999-3
  pkgconfig_2.0.2
On Tue, 20 Nov 2018 at 20:01, HADFIELD Jarrod <j.hadfield at ed.ac.uk> wrote: