I have a large input file with data that looks like this:
345 33
671 34
304 35
266 36
Seems pretty standard. But I can't find any read.table parameters that even recognizes that there are two columns. The table that gets created is a column of seemingly random single-digit numbers, or an error saying that every line appears to contain embedded nulls. If I type lines <- "{data}", lines becomes
345\t33\n671\t34\n304\t35\n266\t36
But when I tell the table sep="\t" it doesn't help. I do have a header but I'm using skip=1 to make sure it's not causing issues. Is there a formatting trick I'm not aware of? I'm going to be dealing with files in this format regularly so I'd love a relatively low-effort solution.