[R-SIG-Mac] problem with mac gui and mvtnorm for R2.14.0 (unstable)

William Revelle lists at revelle.net
Thu Apr 21 01:44:26 CEST 2011


Dear Mac R users and developers,

mvtnorm when used in the Mac.app Gui crashes R2.14.0 (unstable).

This does not happen when using R in X windows or when using Rstudio, 
nor does it happen with R2.13.0

I note that my version of R2.14.0 is a month old, but the most recent 
version does not seem to available from the research.att.com page.

Best wishes and thanks for all the work.

Bill


>  sessionInfo()
R version 2.14.0 Under development (unstable) (2011-03-16 r54826)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] mvtnorm_0.9-96 psych_1.0-96

loaded via a namespace (and not attached):
[1] tools_2.14.0
>  n <- 5
>  mean <- rep(0, 5)
>  lower <- rep(-1, 5)
>  upper <- rep(3, 5)
>  corr <- diag(5)
>  corr[lower.tri(corr)] <- 0.5
>  corr[upper.tri(corr)] <- 0.5
>  prob <- pmvnorm(lower, upper, mean, corr)

  *** caught bus error ***
address 0x0, cause 'non-existent physical address'

Traceback:
  1: .Fortran("mvtdst", N = as.integer(n), NU = as.integer(df), LOWER 
= as.double(lower),     UPPER = as.double(upper), INFIN = 
as.integer(infin), CORREL = as.double(corrF),     DELTA = 
as.double(delta), MAXPTS = as.integer(x$maxpts),     ABSEPS = 
as.double(x$abseps), RELEPS = as.double(x$releps),     error = 
as.double(error), value = as.double(value), inform = 
as.integer(inform),     PACKAGE = "mvtnorm")
  2: probval.GenzBretz(algorithm, n, df, lower, upper, infin, corr, 
corrF, delta)
  3: probval(algorithm, n, df, lower, upper, infin, corr, corrF, delta)
  4: mvt(lower = lower, upper = upper, df = 0, corr = corr, delta = 
mean,     algorithm = algorithm, ...)
  5: pmvnorm(lower, upper, mean, corr)

-- 
William Revelle		http://personality-project.org/revelle.html
Professor			http://personality-project.org
Department of Psychology             http://www.wcas.northwestern.edu/psych/
Northwestern University	http://www.northwestern.edu/
Use R for psychology                       http://personality-project.org/r
It is 6 minutes to midnight	http://www.thebulletin.org



More information about the R-SIG-Mac mailing list