[R] Error importing data - wrapping?

Kate Ignatius kate.ignatius at gmail.com
Sat May 9 16:59:31 CEST 2015


I have some data that I've trouble importing...

A B C D E
A 1232 0.565
B 2323 0.5656 0.5656 0.5656
C 2323 0.5656
D 2323 0.5656
E 2323 0.5656
F 2323 0.5656
G 2323 0.5656
G 2323 0.5656 0.5656 0.5656

When I input the data it seems to go like this:

SampleID ItemB ItemC ItemD ItemE
A 1232 0.565
B 2323 0.5656
0.5656 0.5656
C 2323 0.5656
D 2323 0.5656
E 2323 0.5656
F 2323 0.5656
G 2323 0.5656
G 2323 0.5656 0.5656 0.5656

with the last two columns (or the two columns with vast amounts of
missing data which are usually the last two = see SampleB) wrapping
around - is there away to prevent this?

Thanks!



More information about the R-help mailing list