On 7/17/2009 1:15 PM, Olaf Mersmann wrote:
Hi,
Excerpts from Torsten.Hothorn's message of Thu Jul 16 17:20:10 +0200 2009:
`model.matrix' might kill R with a segfault (on a illposed problem, but anyway):
mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100)))
f <- as.formula(paste("~ - 1 +
Hi,
Excerpts from Torsten.Hothorn's message of Thu Jul 16 17:20:10 +0200 2009:
> `model.matrix' might kill R with a segfault (on a illposed problem, but
> anyway):
>
> mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100)))
> f <- as.formula(paste("~ - 1 + ", paste(names(mydf), collapse = ":
Hi,
`model.matrix' might kill R with a segfault (on a illposed problem, but anyway):
mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100)))
f <- as.formula(paste("~ - 1 + ", paste(names(mydf), collapse = ":"), sep = ""))
X <- model.matrix(f, data = mydf)
*** caught segfault ***
address 0