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

List:       r-help
Subject:    Re: [R] Random number generation
From:       Karl Ove Hufthammer <Karl.Hufthammer () math ! uib ! no>
Date:       2008-05-13 14:22:59
Message-ID: g0c883$k3r$1 () ger ! gmane ! org
[Download RAW message or body]

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

______________________________________________
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