[R] Reading comments in text file from R

Graham Smith myotisone at gmail.com
Wed Dec 2 19:26:43 CET 2009


When a text file starts with a few lines commented out with # can you
read those line from within R.

read.table ignores the comments to load the file, but it would
sometimes  be useful to be able to read what these comments say.

Thanks,

Graham




More information about the R-help mailing list