Skip to content
Prev 227948 / 398500 Next

Reading files with varying number of columns

Dear R list,
I am trying to read files with a varying number of columns and can't figure out 
how to get them in the proper format.? Some rows have five value and some have 
seven.? Is there a way to read them in so that two empty columns are added to 
every row that has only five values?? An example of the data follows.? Thanks!? 
Tim
?Tim Clark

Marine Ecologist
National Park of American Samoa
Pago Pago, American Samoa? 96799