Efficient R Programming by Colin Gillespie