search for: rilength

Displaying 2 results from an estimated 2 matches for "rilength".

Did you mean: ilength
2006 Apr 12
0
headerfile translation to Delphi (Pascal) completed
...arguments have been translated as pointers (E.g. "x *int" becomes "_x: pInteger" and NOT "var _x: integer") - Unfortunately there are two forms of length (LENGTH and length/Rf_length) in the header file Rinternals. The - vector access macro LENGTH becomes riLength and - the ??? length(x)/Rf_length become rLength. --- USE_RINTERNAL (RINTERNALS.H) --- The file "Rinternals.h" contains two sets of functions: one with "real" functions who are exported in the R.dll and one with functions that use the structs (records) directly to access...
2006 Oct 16
6
NULL or NA for missing function arguments?
Hi, I am troubled by the use of NULL or NA to indicate missing/non-specified function arguments. In the R code that I have looked at, it seems that both forms are used (NULL seems to be used more often though). Sometimes both variants are in the same declaration, e.g. format.default <- function(x, trim = FALSE, digits = NULL, nsmall = 0, justify = c("left",