Wan
Wan

Reputation: 1

'memory not mapped' Error in R on Solaris 10

I am writing an R package for CRAN and get an error message on Solaris 10.

library(BET)
X1 <- rnorm(128)
X2 <- rnorm(128)
Y <- 0.2 * (X1 + X2) + sqrt(0.92) * rnorm(128)
BEAST(cbind(X1, X2, Y), 3, test.independence = TRUE,
    index = list(c(1,2), c(3)), test.uniformity = FALSE, p.value.method = NA)

Version: 0.3.4

Check: examples

Result: ERROR

Running examples in ‘BET-Ex.R’ failed
The error most likely occurred in:


> ### Name: BEAST
> ### Title: Binary Expansion Approximate Symmetry Test
> ### Aliases: BEAST
>
> ### ** Examples
>
> X1 <- rnorm(128)
> X2 <- rnorm(128)
> Y <- 0.2 * (X1 + X2) + sqrt(0.92) * rnorm(128)
> BEAST(cbind(X1, X2, Y), 3, test.independence = TRUE,
+ index = list(c(1,2), c(3)), test.uniformity = FALSE, p.value.method = NA)

 *** caught segfault ***
address 0, cause 'memory not mapped'

Traceback:
 1: BeastCpp(X, d, m, B, unif.margin, lambda, test.uniformity, test.independence, index, null.simu, p.value.method, num.permutations)
 2: BEAST(cbind(X1, X2, Y), 3, test.independence = TRUE, index = list(c(1, 2), c(3)), test.uniformity = FALSE, p.value.method = NA)
An irrecoverable exception occurred. R is aborting now ...

Flavor: r-patched-solaris-x86

I tried to replicate this error with R-hub but it works well.

Upvotes: 0

Views: 132

Answers (0)

Related Questions