Skip to content
Back to formatted view

Raw Message

Message-ID: <43F4D72E.2000209@vanderbilt.edu>
Date: 2006-02-16T19:49:02Z
From: Frank E Harrell Jr
Subject: segmentation fault with Hmisc areg.boot()
In-Reply-To: <BC8A77DD-B116-41E0-A14F-5E0AD78B5087@muohio.edu>

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.