> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Esmail Bonakdarian > Sent: Sunday, May 11, 2008 7:25 AM > To: Prof Brian Ripley > Cc: [EMAIL PROTECTED] > Subject: Re: [R] Random number generation
[snip] > 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 :-) I am not a computer scientist, so correct me if I am wrong, but from what I remember (and a quick glance at my copy of Kernighan Ritchie), the C *language* itself does not support block *comments*, rather the preproccessor replaces the comments with a single space and the compilor does not even see them. Since R is optimized for interactive use rather than compilation, running everything through a preproccessor is not really an option. However as an additional work around you could always run your R scripts through the C preproccessor and have it strip the block comments for you. Given the complexity of implementing block commenting (even deciding on the syntax) and the ease of current work arounds, the cost benefit ratio probably puts this very near the bottom of the priority list. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 ______________________________________________ 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.