Re: [Rd] DierckxSpline segfault

2009-01-19 Thread Spencer Graves
Thanks for this bug report. I've replicated the problem using your excellent example. Unfortunately, this may not be an easy bug to fix. Might it be feasible for you to use either the 'periodicSpline' function in the 'splines' package or a Fourier basis in the 'fda' package?

Re: [Rd] DierckxSpline segfault

2009-01-18 Thread Spencer Graves
Hello: The following shows how to fit a simple periodic function to data using Fourier bases in the 'fda' package. Fixing the bug you reported in the 'percur' function may not be easy. (To my knowledge, the primary capability in the 'DierckxSpline' package not otherwise available in R

[Rd] DierckxSpline segfault

2009-01-17 Thread Андрей Парамонов
I've just encountered a segfault when using DierckxSpline::percur function. Below is the minimal example which triggers the error: --- library(DierckxSpline) x - 1:10 y - rep(0, 10) pspline - percur(x, y) --- *** caught segfault *** address (nil), cause 'memory not mapped' Traceback: 1: