Displaying 1 result from an estimated 1 matches for "mlerf".
Did you mean:
mleri
2001 Mar 14
0
segmentation fault of unknown cause (PR#877)
...# The segmentation fault does not appear if R is called by
# /usr/bin/R --vsize 20M --nsize 250K --no-save
# (The algorithm will fail with "fn(par, ...) : subscript out of bounds"
# then, what is OK since the matrix `cm' does not have enough
# components)
library(mva)
"mleRF" <-
function (data, coord)
{
ENVIR <- environment()
lc <- nrow(coord)
## if you comment out either line, the algorithm
## returns the correct error message
## "fn(par, ...) : subscript out of bounds"
distances <- as.double(dist(coord))
distan...