lines = 'Number Rough_Weight Finished_Weight 1 2.745 2.080 2 2.700 2.045 3 2.690 2.050 4 2.680 2.005 5 2.675 2.035 6 2.670 2.035 7 2.665 2.020 8 2.660 2.005 9 2.655 2.010 10 2.655 2.000 11 2.650 2.000 12 2.650 2.005 13 2.645 2.015 14 2.635 1.990 15 2.630 1.990 16 2.625 1.995 17 2.625 1.985 18 2.620 1.970 19 2.615 1.985 20 2.615 1.990 21 2.615 1.995 22 2.610 1.990 23 2.590 1.975 24 2.590 1.995 25 2.565 1.955' con = textConnection( lines ) DF = read.table( con, header=TRUE ) close(con)