Re: [R] spline.des

2005-10-05 Thread Marc Schwartz (via MN)
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. Liliana


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

__
R-help@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


Re: [R] spline.des

2005-10-04 Thread Frede Aakmann Tøgersen

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: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] På vegne af lforzani
 Sendt: 3. oktober 2005 22:28
 Til: Douglas Bates; Horacio Montenegro
 Cc: r-help@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@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
 


__
R-help@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


Re: [R] spline.des

2005-10-04 Thread Uwe Ligges
Frede Aakmann Tøgersen wrote:
 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.

So this is obviously a bug in fda: it should at least depend/suggest the 
splines package, should try to load it, and give an appropriate error 
message if splines is required but not available for the case in question.

Uwe Ligges


 
 Best regards
 Frede Aakmann Tøgersen
  
 
  
 
 
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] På vegne af lforzani
Sendt: 3. oktober 2005 22:28
Til: Douglas Bates; Horacio Montenegro
Cc: r-help@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@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


 
 
 __
 R-help@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

__
R-help@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


Re: [R] spline.des

2005-10-03 Thread Uwe Ligges
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. Liliana

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

Yes, please do so.

Uwe Ligges

__
R-help@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