learning statistical learing and machine learning based on R