Correct Answer : data <- read.table(“foo.txt”)
Explanation : R will automatically skip lines that begin with a #.