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
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
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