[R] comments in scan

Jarrett Byrnes jebyrnes at ucdavis.edu
Tue Nov 28 01:25:05 CET 2006


I had a question about scan in R.  For better code readability, I  
would like to have lines in the block of data to be scanned that are  
commented - not just lines that have a comment at the end.  For example

#age, weight, height
33,128,65
34,56,155

instead of having to do something like

33,128,65 #age, weight, height
34,56,155


Is this at all possible?



More information about the R-help mailing list