On Behalf Of Esmail Bonakdarian wrote:
> ...
> What I read doesn't seem to be incorrect however (it may even
> have been an archived message here), the *language* itself
> does not seem to support block *comments*. Using conditional
> constructs, or an IDE/editor to achieve similar results is a
> work around - but not the same. I don't mean to nitpick, but
> as a computer scientist I see this as different :-)

For those using NEdit, the R block comment macro:

replace_in_selection("^","#","regex")

and the corresponding R block uncomment macro:

replace_in_selection("^#","","regex")

are both trivial. Just highlight the block and detonate the macro.

Jim

______________________________________________
R-help@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.

Reply via email to