From Martin Maechler <maechler@stat.math.ethz.ch>  Wed Nov 21 09:24:31 2001
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Wed, 21 Nov 2001 10:24:31 +0100
Subject: [Rd] segfault using svm from e1071 (PR#1178)
In-Reply-To: <200111202238.XAA07070@pubhealth.ku.dk>
References: <200111202238.XAA07070@pubhealth.ku.dk>
Message-ID: <15355.29391.627802.421311@gargle.gargle.HOWL>

>>>>> "jan" == jan  <jan@rychter.com> writes:

    jan> This could be a bug in the e1071 svm code, but maybe
    jan> not -- I guess I'll send it here anyway. It's
    jan> reproducible.

not really reproducible:

1) If you use random data (which is perfect),
  you need an explicit  set.seed(.) statement to make it reproducible

2) I can evaluate the code below (intel-Linux as you)
    more than 100 times without a problem.

Martin

    >> x <- seq (0.1,5,by=0.05)
    >> y <- log(x) + rnorm (x, sd=0.2)
    >> library(e1071)
    >> m <- svm (x,y)

    jan> Process R segmentation fault at Tue Nov 20 23:34:19 2001

    >> version
    jan> _                
    jan> platform i686-pc-linux-gnu
    jan> arch     i686             
    jan> os       linux-gnu        
    jan> system   i686, linux-gnu  
    jan> status                    
    jan> major    1                
    jan> minor    3.1              
    jan> year     2001             
    jan> month    08               
    jan> day      31               
    jan> language R                

    jan> I used the Mandrake 8.0 RPM binaries from
    jan> cran.r-project.org first, then recompiled R myself and
    jan> reinstalled e1071. Same results.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] segfault using svm from e1071 (PR#1178)
Martin Maechler