lines = 'Temperature Parts_Dissolved 0 66.7 4 71.0 10 76.3 15 80.6 21 85.7 29 92.9 36 99.4 51 113.6 68 125.1' con = textConnection( lines ) DF = read.table( con, header=TRUE ) close(con)