[R] Multi-line comments?
Mark Knecht
markknecht at gmail.com
Wed Jul 22 18:57:14 CEST 2009
Thanks Gabor and EVERYONE else who answered so quickly.
On Wed, Jul 22, 2009 at 7:50 AM, Gabor
Grothendieck<ggrothendieck at gmail.com> wrote:
> Try
> if (FALSE) { ... }
>
> On Wed, Jul 22, 2009 at 10:30 AM, Mark Knecht<markknecht at gmail.com> wrote:
>> Hi,
>> I looked in the language definition and was surprised. Is there
>> really no multi-line/block comment defined in R?
>>
>> I wanted to comment out 20 lines that I'm moving to a function but
>> didn't want to delete them. Is there no defined way to get around
>> using a # on each of the 20 lines?
>>
>> Thanks,
>> Mark
>>
>> ______________________________________________
>> R-help at r-project.org 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.
>>
>
More information about the R-help
mailing list