[Rd] unstability when using isoreg() function (PR#6494)

klaster at karlin.mff.cuni.cz klaster at karlin.mff.cuni.cz
Wed Jan 28 17:31:27 MET 2004


Full_Name: Petr Klasterecky
Version: 1.8.1
OS: Windows XP, Linux
Submission from: (NULL) (195.113.27.212)


The isoreg() function causes R to crash when called repeatedly. Consider the
following simple script:

{
library(modreg)
N <- 10
x <- rnorm(N)
print("Original x values:")
print(x)
for(n in (1:N)){print(y <- isoreg(x[1:n])$yf)}
}        

I am able to run (call) it several times, let say 6 or 10 times, and when trying
once more, R crashes. In Windows a screen with "The R GUI software has caused
errors and will be terminated by windows. All unsaved information will be lost."
message appears, using Linux R crashes with a mesage "Segmentation fault".



More information about the R-devel mailing list