[R] Random number generation

Jim Lemon jim at bitwrit.com.au
Tue May 13 11:56:45 CEST 2008


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



More information about the R-help mailing list