[R] how to comment off sections

Joshua Wiley jwiley.psych at gmail.com
Sat Jul 17 01:59:47 CEST 2010


Is there an way to easy comment of sections of code?  I was thinking
something along the lines of

codeline 1
codeline k

but that could be used in regular script files.  When I am still
working on a script, I often want to being using what is done, but I
would like the parts I am still working on not to be run when I use
source() on the file.  I can set everything off with #, but that gets
to be tedious.



Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles

More information about the R-help mailing list