[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Random number generation
From:       Jim Lemon <jim () bitwrit ! com ! au>
Date:       2008-05-13 9:56:45
Message-ID: 482965DD.60302 () bitwrit ! com ! au
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic