Date: Tue, 7 Apr 1998 16:43:48 +1200 (NZST) Message-Id: <199804070443.QAA12349@stat1.stat.auckland.ac.nz> From: Ross Ihaka <ihaka@stat.auckland.ac.nz> To: "A. Tsiolakidis" <tsioltas@cs.keele.ac.uk> Subject: R-beta: spline problems(?) In-Reply-To: <35298FC9.70AA@cs.keele.ac.uk> 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. Ross -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._