Previous: R exceptions, Up: Interface description
The RPy module provides, as a convenience, the TRUE and
FALSE R objects, as attributes to the r Python object
(i.e.: r.TRUE and r.FALSE). For example:
>>> r.TRUE
<Robj object at 0x8b3a498>
>>> r.typeof(r.TRUE)
'logical'
Note that the T and F names from R are variables bounded
to the logical objects; however, they can be rebound. So, r.T and
r.F may not be the objects you expect. Use r.TRUE and
r.FALSE instead.