Re: [R] Random number generation

From: Karl Ove Hufthammer <>
Date: Tue, 13 May 2008 16:22:59 +0200

Esmail Bonakdarian:

>> you could always run your R scripts through the C preproccessor and

> > have it strip the block comments for you.
> Too much work, call me old school, but I like the computer do work for me,
> rather than the other way around

Most editors (and every editor worth using) supports block-commenting via a keyboard shortcut. For instance, in KDE-based editors, such as Kwrite, Kate and RKward (the latter is a KDE-based GUI for R), you can just select the lines you want to comment and press 'Ctrl + D' to comment them, or 'Shift + Ctrl + D' to uncomment them.

Karl Ove Hufthammer

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 13 May 2008 - 14:30:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 13 May 2008 - 15:00:40 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive