I am trying to read a text file into R. I only want to import some selected variables. I know where they are located, say 15-18 are dob_yy, mob_mm is from 19 to 20. Anyway I can read such a file? In SAS,when I read a file, I could do the following input dob_yy 15-18 mob_mm 19-20 Any similar method in R?
Thanks!