Joan-Josep Vallbé <pep.vallbe <at> uab.cat> writes: > I'm a new user and I'm trying to use read.table with a tab delimited > file but the system tells me (i) that there are more columns than > column names, and (ii) that headers and col.names are of different > lengths. I have already checked my variable names and there's no blank > spaces. > However, some variables have quite long names such as > "valoracion.experiencias.segundo.year". Could it be the problem?
I am sure you tried removing the first line and using header =FALSE, because that is faster than writing a message > If that is the case, I still don't understand why I have more columns > that column names. Use an editor that shows tabs explicitly. Often, there is a TRAILING tab in the data rows. Dieter ______________________________________________ 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.