[R] Is there a construct for conditional comment?

Peng Yu pengyu.ut at gmail.com
Tue Aug 18 23:54:31 CEST 2009


Hi,

In C++, I can use the following construct to choice either of the two
blocks the comment but not both. Depending on whether the number after
"#if" is zero or not, the commented block can be chose. I'm wondering
if such thing is possible in R?

#if 0
commented with 0
#else
commented with 1
#endif

Regards,
Peng




More information about the R-help mailing list