[R] svm in e1071 package segment fault in redhat 7.2
jason zhao
jasonnew2001 at yahoo.com
Mon Mar 11 23:38:04 CET 2002
--- Uwe Ligges <ligges at statistik.uni-dortmund.de>
wrote:
> jason zhao wrote:
> >
> > Hi, Guys
> > I run one simple R script like this
> >
> > library(e1071)
> > data(iris)
> > attach(iris)
> > model <- svm (Species~., data=iris)
> >
> > The R version is 1.4.1. The OS is standard redhat
> 7.2.
> > Then I got a segmentation fault like this (run
> through
> > R CMD BATCH scriptName)
> > /usr/local/R/lib/R/bin/BATCH: line 54: 28513 Done
> > (
> > echo "invisible(options(echo = TRUE))"; cat ${in};
> > echo "proc.time()" )
> > 28514 Segmentation fault |
> ${R_HOME}/bin/R
> > ${opts} >${out} 2>&1
> >
> > There is no problem if the R-binary is running
> redhat
> > 6.2.
> >
> > Does anyone see this problem? Is there a
> workaround
> > for this?
>
> Haven't got RedHat 7.2 available, but your example
> works perfectly on
> SuSE 7.3, Solaris 5.7 and WinXP.
> So I guess you didn't compile R (or e1071) on your
> system.
> Maybe there is a small incompatibility with the
> precompiled version.
> I'd suggest to compile R yourself and install e1071
> from the sources.
>
> Uwe Ligges
I installed everyting (the R basic, R-recommended
package and e1071 ) from source. My test example
worked fine with redhat 6.2, but not redhat 7.2. I
think maybe it is problem in gcc library or something
in e1071 package.
Any suggestion
Thanks
__________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list