5 ms·
I've been wanting to learn R for a bit. Does anyone know of any good resources for learning the basics?
by the_gastropod 6y ago
I've been wanting to learn R for a bit. Does anyone know of any good resources for learning the basics?
- jarenmf 6y agoThis is a good start for the basics https://learnxinyminutes.com/docs/r/ https://learnxinyminutes.com/docs/r/
- nsm 6y agoAs someone who already knows how to program, I've really liked https://r4ds.had.co.nz/index.html https://r4ds.had.co.nz/index.html. It jumps right into visualization from the very beginning, which is great as a feedback mechanism, and also highlights R's strengths (ggplot2).
- vharuck 6y agoThis is definitely a great intro to the parts of R that are relevant for all types of analysis. After you get comfortable with this and want to do some domain-specific analysis, check out the R Task Views[0] on the official site. You can read brief summaries of what packages are available for different analysis tasks. Really useful, considering how many packages are on the official repository (CRAN). To see more of what a package does and how to use it, look for vignettes on the package description page. For example, the `forecast` package[1] includes a journal article. You could also look on bookdown.org, which showcases some online books made using the titular package. The are a lot of "Doing X with R" guides among them. [0] https://cran.r-project.org/web/views/ https://cran.r-project.org/web/views/ [1] https://cran.r-project.org/package=forecast https://cran.r-project.org/package=forecast
- wittjeff 6y agohttps://www.edx.org/course/data-science-r-basics https://www.edx.org/course/data-science-r-basics Disclosure: I work for edX.
- phillc73 6y agoPete Dalgaard's Introductory Statistics with R is a good book, but not free online as far as I know.[1] Or go to the source with An Introduction to R[2][3] I also enjoyed Norm Matloff's fasteR tutorial.[4] [1] https://www.springer.com/gp/book/9780387790534 https://www.springer.com/gp/book/9780387790534 [2] https://cran.r-project.org/doc/manuals/r-release/R-intro.pdf https://cran.r-project.org/doc/manuals/r-release/R-intro.pdf [3] https://intro2r.com/the-aim-of-this-book.html https://intro2r.com/the-aim-of-this-book.html [4] https://github.com/matloff/fasteR https://github.com/matloff/fasteR
- nnm 6y agoa few books by Hadley are really the best. For folks on HN, the "Advanced R" [0] by Hadley is actually a good start pont [0]: https://adv-r.hadley.nz/ https://adv-r.hadley.nz/
- taylorfinley 6y agoThere's a Johns Hopkins certificate program in data science on Coursera, it's all taught in R. If you have a background in data science a lot of the course will be review but I learned R taking those classes and found it to be really well designed.