Skip to content
Prev 3871 / 63421 Next

Suggestion for comments in data files (i.e. read.table)

I just wanted to see if was a good idea in principle but thanks for
pointing out that read.table is not line oriented, I have not even started
to work through what would actually be required.
Well it should be whatever is consistent with R source code unless there
is a good reason to make it otherwise, that minimises the learning required
for new users. Doing a quick test I see that allowing a comment to start
anywhere on the line is correct:
[1] "# comment"
So I'm perfectly happy with that.

If the comment option defaulted to FALSE then it would be safe against
breaking existing code (I suppose everyone knew that already).

	- Tel
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Message-ID: <20000523174706.A14617@ftoomsh.progsoc.uts.edu.au>
In-Reply-To: <Pine.GSO.4.05.10005230656200.21900-100000@auk.stats>; from ripley@stats.ox.ac.uk on Tue, May 23, 2000 at 07:05:37AM +0100