I know this is several years later but... I ran into the same issue and was able to solve it by verifying the spacing between variables within original text file. For example, Item1, Item2, and Item3 had a single space between them while the numbers in each item had 5 spaces between them, resulting in a mismatch between r and tm.
Hope this helps somebody. Chris ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.