$ 0 0 This tutorial explains how to copy data from MS Excel to R.Copy Data from Excel to Rdata = read.table(text="X Y Z6 5 06 3 NA6 1 58 5 3", header=TRUE)It creates 3 columns - X, Y and Z. The header = TRUE tells R to consider first row as header.