On 11-08-05 12:09 AM, Alexandre Aguiar wrote:
Hi,

When a function returns a SEXP of type LGLSXP (logical) to signal whether
it succeeded or failed, how is it intrepreted? Is it like C where SUCCESS
= 0 or other value?

Usually TRUE is used to signal success.  TRUE is non-zero.

Duncan Murdoch

______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to