On exit: reference vector for which memory will be allocated internally. If no memory is allocated to
r (e.g., when an input error is detected) then
r will be
NULL on return, otherwise you should use the NAG macro
NAG_FREE to free the storage allocated by
r when it is no longer of use.