Import a data set from a website using read.table.
The data set is a rectangular dataset with the left column being number of
beers and the right column being bac.
And my code looks like this:
mydata =
read.table("http://courses.ncsu.edu/st512/lec/001/data/beer.txt",header=T)
And I get this error:
Error in read.table("http://courses.ncsu.edu/st512/lec/001/data/beer.txt", :
more columns than column names
I have no idea where this is getting tripped up. Please help?
No comments:
Post a Comment