[R] the woes of NA

2008-01-08 Thread Professor Brian Ripley
Jan Galkowski wrote > I'm adapting a FORTRAN 77 package for use with R. Pretty > straightforward. > > Except for a glitch it took me some time to figure out. This existing > package has subroutines which have parameters called "NA". So, I called > subroutines like > > bnodes <- function(n, l

Re: [R] the woes of NA

2007-12-31 Thread Peter Dalgaard
Galkowski, Jan wrote: > Joyful. > > I'm adapting a FORTRAN 77 package for use with R. Pretty > straightforward. > > Except for a glitch it took me some time to figure out. This existing > package has subroutines which have parameters called "NA". So, I called > subroutines like > > bnodes <- fu

[R] the woes of NA

2007-12-30 Thread Galkowski, Jan
Joyful. I'm adapting a FORTRAN 77 package for use with R. Pretty straightforward. Except for a glitch it took me some time to figure out. This existing package has subroutines which have parameters called "NA". So, I called subroutines like bnodes <- function(n, lst, lptr, lend, nodes, nb, n