[Rd] Maybe some bug on sapply and cbind (PR#5628)
brahm at alum.mit.edu
brahm at alum.mit.edu
Tue Dec 9 15:40:41 MET 2003
I can confirm this bug on Solaris 2.8 running R-1.8.1. Here's a simplified
version:
y <- list()
sapply(1, function(i) y[[i]] <- expression(1))
cbind(1, rep(2,1))
[ Process R segmentation Fault at Tue Dec 9 09:20:33 2003 ]
Curiously, replacing the third line with
cbind(1, 2)
does not casue a crash, even though rep(2,1) == 2 !
> R.version
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 8.1
year 2003
month 11
day 21
language R
--
-- David Brahm (brahm at alum.mit.edu)
More information about the R-devel
mailing list