Abstract:In view of the shotcomings of data mining R language course in teaching content and teaching methods , accord-ing to the general requirements of " golden course" construction , based on the standard of " being advanced , innovative andchallenging" ,combined with the online and offline hybrid teaching mode , the data mining R language course is optimizedin three aspects of teaching design , teaching practice and teaching evaluation.As compared with the traditional teachingmode , students'learning enthusiasm and willingness have been greatly improved , and students' ability to find, analyze andsolve problems has been promoted with the new mode.