Displaying 1 result from an estimated 1 matches for "littleop".
Did you mean:
littleor
2001 Apr 30
1
Segmentation fault linked to memory? (PR#929)
Hi Everyone,
The following rather extreme claim on memory causes a
segmentation fault on my installation:
fred <- matrix(1:1200, 20, 60)
littleOP <- function(x, y)
{
z <- as.vector(x) %*% t(as.vector(y))
dim(z) <- c(dim(x), dim(y))
z
}
littleOP(fred, fred) # this is OK
littleOP(littleOP(fred, fred), fred) # whoops! Segmentation fault
What's a bit strange is that if I do the outer product the
`old-fashione...