Hi

[I'm not sure if this is "intelligible to non-programmers" or not]

R-exts (section 4.2) gives an example of the .C() function whose third argument is

"as.integer(length(a))",

and urges the user to coerce all the arguments to the correct form (on pain of "hard-to-catch errors"
which I now know to be very appropriate, if understated, phrasing).


 The length()  function returns an integer, according to the helppage.

So, why does the argument above use as.integer()?



--
Robin Hankin
Uncertainty Analyst
Southampton Oceanography Centre
SO14 3ZH
tel +44(0)23-8059-7743
[EMAIL PROTECTED] (edit in obvious way; spam precaution)

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to