Skip to content
Prev 36396 / 63424 Next

LOGICAL arguments in FORTRAN code

On Thu, 8 Apr 2010, Berwin A Turlach wrote:

            
NA_INTEGER is a possible value in both directions.  So R may send 0, 1 
or (if NAOK=TRUE) -2^31, and will copy back any value (but as 
a logical in R, it is intended that any value other than 0 and 
NA_LOGICAL is true).

Brian Ripley