Chapman and Hall/Crc the R Ser.: Advanced R, Second Edition by Hadley Wickham… A nice touch in this textbook is the practice tests with answer explanations.