[R] Perl "cut" equivalent in R

Petr Savicky savicky at cs.cas.cz
Thu Dec 2 08:42:11 CET 2010


On Wed, Dec 01, 2010 at 07:12:37PM -0500, David Winsemius wrote:
...
> One of the workarounds... the one I remember anyway...  has been to  
> insert:
> 
> if(FALSE) {
> stuff your don't want executed
>          }
> 

Switching a block of code off/on with editing a single character
may be done using 0/1 instead of FALSE/TRUE.

Petr Savicky.



More information about the R-help mailing list