Carel, Roland
1999-Nov-19 00:17 UTC
[R] Crash when running functions from contributed packages
Hello all, I am somewhat new to S-plus and would really appreciate any help you might have on the following problem: I installed S-plus (0.65.1) on a Sun box (Solaris) and it runs fine as far as I can tell. I also installed the cluster and multiv contributed packages. The problem I have is that I get a core dump everytime I try to run a function in the contributed packages. This seems independent on the function I try, be it clara, pca, or sammon. Here is an example: % R --vanilla < pca_test.R R : Copyright 1999, The R Development Core Team Version 0.65.1 Release (October 07, 1999) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type "?license" or "?licence" for distribution details. R is a collaborative project with many contributors. Type "?contributors" for a list. Type "demo()" for some demos, "help()" for on-line help, or "help.start()" for a HTML browser interface to help. Type "q()" to quit R.> library(mva) > library(multiv) > x <- rbind(cbind(rnorm(200,0,8), rnorm(200,0,8)),+ cbind(rnorm(300,50,8), rnorm(300,50,8)))> pcax <- pca(x)Segmentation fault (core dumped) Any idea on how to fix this? -Roland Carel ___________________________________________ Roland Carel, Ph. D. NetGenics, Inc. rcarel at netgenics.com +1 216 861 4007 Voice +1 216 861 4777 Fax -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Douglas Bates
1999-Nov-19 04:31 UTC
[R] Crash when running functions from contributed packages
"Carel, Roland" <rcarel at netgenics.com> writes:> I am somewhat new to S-plus and would really appreciate any help you might > have on the following problem: > > I installed S-plus (0.65.1) on a Sun box (Solaris) and it runs fine as far > as I can tell.Ummm - I think you mean you installed R (0.65.1) on a Sun box. Although R and S-plus are both implementations of the S language, they are different and I'm sure that MathSoft, Inc. would like people to keep those differences in mind.> I also installed the cluster and multiv contributed packages. > The problem I have is that I get a core dump everytime I try to run a > function in the contributed packages. This seems independent on the function > I try, be it clara, pca, or sammon.Well I was about to say that it is easy to check the examples in the multiv library but then I tried to do just that and failed. (Fritz, I know you are busy but is it possible/worthwhile cleaning up those examples a bit so, for example, the data sets are made available before they are used?) If you find, Roland, that the multivariate routines in the "mva" library can do what you want, you may have better luck with them. For example, try library(mva) example("prcomp") example("princomp") -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._