If you're using RStudio, you might also try the data import wizard:
It will help you figure out how to import your data file, and it shows you the code it is constructing that does all the work
, so it's a great first step if you're feeling baffled
by writing the code directly.
Another great resource is this Data Import Cheatsheet: