Displaying 2 results from an estimated 2 matches for "rireal".
2006 Apr 12
0
headerfile translation to Delphi (Pascal) completed
...rent versions (Rf_asChar, asChar) become one (riAsChar)
- the letter following R (or S) is written in capital (e.g. aSExp)
- the following prefixes are used (to avoid name clashes):
- a small "r" (e.g.rNormRand), except for
- a small "ri" for things in Rinternals (e.g. riReal) and except
- a small "rd" for things in Rdefines (e.g. rdNumericPointer)
[- low level functions contained in the unit rhRUseInternals.pas
have the prefix "rui". (This is too lowlevel and not delivered)]
Filenames: Pprefixed with "rh" (R header) or "r...
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",