Friday, February 26, 2010

R LOL

R protects the objects "TRUE" and "FALSE" so this fails:

TRUE <- FALSE

The short forms "T" and "F" are defined by default, but they are not protected, so this works:
T <- FALSE

isTRUE(T)