[Rd] R 2.13 segfault with range()

Terry Therneau therneau at mayo.edu
Mon May 2 17:47:47 CEST 2011


Running on a shared CENTOS server

tmt711% R --vanilla

R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
 [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     
> load('test.rda')
> y <- matrix(ifelse(tdata$dataset<=0, NA, tdata$dataset), 
+             ncol=ncol(tdata$dataset))
> dim(y)
[1] 22283    35
> range(y)

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

Traceback:
 1: range(y)

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: 3

tmt712% ls -s test.rda
2664 test.rda

---------------------------------------------------------
  
  The data set is too large to attach, but I can send the test.rda file
off list.  The data is not confidential.

Terry Therneau



More information about the R-devel mailing list