I am happy to share my course materials for my R class. I learned a lot from examples in R help documentation. Also, my grad students have shown me all to impressive chatGPT results for learning how to program.