From: Jim Lindsey <jlindsey@alpha.luc.ac.be>
Message-Id: <199812090812.JAA13677@alpha.luc.ac.be>
Subject: [R] Segmentation fault
To: r-bugs@stat.math.ethz.ch (rbugs)
Date: Wed, 9 Dec 1998 09:12:30 +0100 (MET)
My son Patrick asked me to send report this bug to the list before he
left on a 3 day course.
The following works:
a <- list(1,2)
a[1] <- paste(1)
a
The following causes a segmentation fault:
a <- matrix(1:9,nrow=3)
dimnames(a) <- list(paste(1:3),paste(1:3))
a
dimnames(a)[2] <- paste(1:3)
a
The second last line gives a couple of warnings and the last line
gives the segmentation fault on both 0.63 and 0.63.1. Using double square
brackets works in both cases. Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._