Hello, I am using library fda and I can not run a lot of functions because I receive the error: Error in bsplineS(evalarg, breaks, norder, nderiv) : couldn't find function "spline.des" do you know how I can fix that? Thnaks. Liliana
On Mon, 2005-10-03 at 15:28 -0500, lforzani wrote:> Hello, I am using library fda and I can not run a lot of functions because > I receive the error: > > Error in bsplineS(evalarg, breaks, norder, nderiv) : > couldn't find function "spline.des" > > > do you know how I can fix that? Thnaks. Lilianaspline.des() is in the 'splines' package, installed with the basic R distribution. It appears that bsplineS() has a dependency on this not otherwise referenced in the fda package documentation. Looks like fda has not been updated in some time as well. I have cc'd Jim Ramsay on this reply as an FYI. You probably need a: library(splines) before calling your code above. HTH, Marc Schwartz
lforzani wrote:> Hello, I am using library fda and I can not run a lot of functions because > I receive the error: > > Error in bsplineS(evalarg, breaks, norder, nderiv) : > couldn't find function "spline.des" > > > do you know how I can fix that? Thnaks. LilianaVersion of R (most recent?)? Version of fda (most recent?)? Example code to reproduce this error message? Well, looking at the code of a recent version of fda suggests this is a bug. Please report bugs to the package maintainer rather than to an R mailing list.> ______________________________________________ > R-help at 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.htmlYes, please do so. Uwe Ligges
Hey The function spline.des is in the splines package. You need to do library(splines) before you have the full functionality of the fda package. Best regards Frede Aakmann T??gersen> -----Oprindelig meddelelse----- > Fra: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] P?? vegne af lforzani > Sendt: 3. oktober 2005 22:28 > Til: Douglas Bates; Horacio Montenegro > Cc: r-help at stat.math.ethz.ch > Emne: [R] spline.des > > Hello, I am using library fda and I can not run a lot of > functions because I receive the error: > > Error in bsplineS(evalarg, breaks, norder, nderiv) : > couldn't find function "spline.des" > > > do you know how I can fix that? Thnaks. Liliana > > ______________________________________________ > R-help at 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 > >