Re: [R] R keeps crashing when executing 'rlogspline'

2007-06-01 Thread Uwe Ligges
Charles C. Berry wrote: > On Thu, 31 May 2007, Jacques Wagnor wrote: > >> Dear List, >> >> I have a simple model as follows: >> >> x <- rnorm(500) >> library(logspline) >> fit <- logspline(x) >> n <- 100 >> y <- replicate(n, sum(rlogspline(rpois(1,10), fit))) # last line >> > > What you do

Re: [R] R keeps crashing when executing 'rlogspline'

2007-05-31 Thread Charles C. Berry
On Thu, 31 May 2007, Jacques Wagnor wrote: > Dear List, > > I have a simple model as follows: > > x <- rnorm(500) > library(logspline) > fit <- logspline(x) > n <- 100 > y <- replicate(n, sum(rlogspline(rpois(1,10), fit))) # last line > What you do not see in RGui is this: *** caught segf

[R] R keeps crashing when executing 'rlogspline'

2007-05-31 Thread Jacques Wagnor
Dear List, I have a simple model as follows: x <- rnorm(500) library(logspline) fit <- logspline(x) n <- 100 y <- replicate(n, sum(rlogspline(rpois(1,10), fit))) # last line The problem I keep getting is R crashes when doing the last line. It seems to be fine if n is small, but not if n is