Given the amount of tools the average data person uses daily, we need to reduce the hurdles to as many "easy tasks" as possible. To help other poor souls that don't want to think too hard when struggling to install R packages referenced in tutorials or other media, I've put together a simple flow chart. The basic troubleshooting guide can be followed in the flow chart. However additional detailed instructions and links can be found below the image.
Is the package available on CRAN?
Do you have the right version of base R?
Install via R-Studio package interface
Locate the package repo and install via devtools
install.packages("devtools")
library(devtools)
install_github("hadley/emo")
# OR MAC and Linux users can simply do:
devtools::install_github("hadley/emo")
Thank you for taking the time to read this guide. I certainly hope that it will help people spend less time thinking about package install debugging and leave more time for fun data analysis and exploration. Please feel free to let me know your thoughts in the comments or on twitter. Thanks!
Original Post can be found here.
© 2021 TechTarget, Inc.
Powered by
Badges | Report an Issue | Privacy Policy | Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 2008-2014 | 2015-2016 | 2017-2019 | Book 1 | Book 2 | More
Most popular articles
You need to be a member of Data Science Central to add comments!
Join Data Science Central