R-beta: spline problems(?)

Ross Ihaka ihaka at stat.auckland.ac.nz
Tue Apr 7 06:43:48 CEST 1998

A. Tsiolakidis writes:
 > Hi,
 > I am a total beginner with this whole thing so please have patience!
 > I am trying to run an S-plus program with a certain line:
 > 	spline(1:nrow(y), y[,1],n=100);
 > This crashes with:
 > 	Error: NAs in foreign function call (arg 8)

You have uncovered an error in the underlying spline code.
I think its related to the fact that you are fitting a curve
through points on a straight line.  I'll have a look.

Other cases look ok.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list