This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Forum: Best book introducing R programming?

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?

coding r

Are you looking to get into the field of bioinformatics? I ask because this is a bioinformatics forum and you might be better off asking elsewhere if you're looking at a different field as your endgame.

Yes. I am working on a B.S. in bioinformatics.

2 answers

R in a Nutshell is my go-to reference book when I want to dig deep into base R. The Hadley Whickam books R for Data Science and Advanced R are also fantastic introductions to R and the internals of R with a focus on the tidyverse, although it does go over a lot of base R concepts also. If you want to get into R stats, An Introduction to Statistical Learning in R is a must read.

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.

Log in to answer this question.