Re: [R] segmentation fault with Hmisc areg.boot()

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Fri 17 Feb 2006 - 06:49:02 EST

Martin Henry H. Stevens wrote:
> Hi Folks,
> Mac OS 10.4.4
> R 2.2.1(2005-12-20 r36812)
> Hmisc 3.0-10
> acepack 1.3-2.2
>
> I keep getting a "segmentation fault" when trying to run areg.boot in
> the Hmisc package. I include below output from two different attempts.
> Thank you in advance for any help.
>
> Hank Stevens
>
> The following is taken from the example in the areg.boot
> documentation, run inside Aquamacs Emacs:
>
> > set.seed(171) # to be able to reproduce example
> > x1 <- rnorm(200)
> > x2 <- runif(200) # a variable that is really unrelated to y]
> > x3 <- factor(sample(c('cat','dog','cow'), 200,TRUE)) # also
> unrelated to y
> > y <- exp(x1 + rnorm(200)/3)
> > f <- areg.boot(y ~ x1 + x2 + x3, B=40)

Works fine on debian linux with same versions

Frank

P.S. In future it's best to omit prompts from lines of code for easy pasting into the R prompt.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 17 07:26:36 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:31 EST