Notes of learning R