Hi. I am an undergraduate student and am interested in learning how to program in R. Could anyone recommend a book for beginners who have coding experience in C++ and Python that provides great example code, practice problems and solutions?
What makes R great is thanks to the powerful tidyverse package. So for general purpose data science, I've learned it through a combination of books but mostly R for data science and ModernDive while Yarrr teaches base R.
For specifically programming, Advanced R deals with it and has some recommendations.
It's maybe not the answer you were looking for but the question was vague enough.