check whether a table has header or not in R

2019-08-04 21:50发布

问题:

I'm reading a file which contains a tabular data. I want to check if the first row of the data is a header or not. Is there an easy way to do this?