Skip to content
Prev 131866 / 398503 Next

Importing Large Dataset into Excel

The problem is often a misspecification of the comment.char argument. 
For read.table(), it defaults to '#'. This means that everywhere you 
have a '#' char in your Excel sheet, the rest of the line is ignored. 
This results in a different number of items per line.

You should better use read.csv() which provides better default arguments 
for your particular problem.
Best,

Philippe Grosjean
jim holtman wrote: