r/rprogramming • u/Leapord_2005 • Sep 21 '26
Best place to learn R programming
Hi...I am new to R programming....I want to learn about R programming....where to start and how....
24
Upvotes
r/rprogramming • u/Leapord_2005 • Sep 21 '26
Hi...I am new to R programming....I want to learn about R programming....where to start and how....
5
u/Drealnigerianprince Sep 21 '26
There's a book called The Book of R. It helped me significantly after that I used R for Data Science.
1
u/Leapord_2005 Sep 22 '26
How is this book? R programming for beginners / by Sandip Rakshit
4
u/ionychal Sep 21 '26
The Posit Academy team has created a course on getting started with R and the Tidyverse: https://academy.posit.co/getting-started-with-r-and-the-tidyverse
Hope you give it a try!
Disclaimer: I work at Posit.
3
u/AbuSydney Sep 21 '26
Most books, The Book of R, Introduction to Statistical Learning with R, R for Data Science are excellent resources. Look for some Udemy courses - they may be good too. Honestly, hard to guide you without knowing what you want to do with R programming.
3
u/Fgrant_Gance_12 Sep 21 '26
Swirl
2
u/LacheradeCanji42 15d ago
do you have any programming background at all, or is this your first language? if its your first, focus purely on understanding data frames and vectors before worrying about fancy statistical modeling.
2
u/Fit_Jellyfish7948 Sep 21 '26
I believe the best way is to just start and learn along the way for your specific purposes. But R by Example by Jim Albert & Maria Rizzo (2nd edition) might also be a good choice, especially if you have some background in stats.
2
u/docdc Sep 21 '26
If you have experience with other languages I'd use an LLM to teach yourself. Describe a very specific task that you want to do and ask for the code snippets -- execute the snippets line by line in R Studio to watch the data transformations. Ask the LLM to document or explain itself if you have questions.
1
u/AutoModerator Sep 21 '26
Just a reminder, this is the R Programming Language subreddit. As in, a subreddit for those interested in the programming language named R, not the general programming subreddit.
If you have posted to the wrong subreddit in error, please delete this post, otherwise we look forward to discussing the R language.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Wise-Bus-9679 Sep 22 '26
If statistics is your goal look at r-statistics.co It’s a great resource for R and stats IMO
1
u/nekowokaburu Sep 22 '26
https://www.bigbookofr.com/
1
u/Bee-Ly_Dan Sep 22 '26
Harvard's CS50R course on youtube is amazing. I've learned so much in one month. I'm writing my own programs already.
1
u/Inevitable_Bar1607 Oct 03 '26
I started with harvard cs50 r