If you want to learn how to program in R and how to use it for data analysis I strongly recommend this course R programming
If you’d like a more interactive platform I’d advice DataCamp.
Below an introduction about R and DataCamp:
By the way DataCamp is a really cool platform