How can I install a package that is under development directly from a github repository and once installed how can I switch between development and CRAN versions?
The specific package I am interested in installing from git is ggplot2.
To install the development version of R packages from the github repository, you can use the devtools package.
install.packages("devtools")library(devtools)dev_mode(on=T)install_github("hadley/ggplot2")# use dev ggplot2 now# when finished do:dev_mode(on=F) #and you are back to having stable ggplot2
# use dev ggplot2 now
# when finished do:
dev_mode(on=F) #and you are back to having stable ggplot2
Certification in Digital Marketing |
Certification in Big Data Analytics |
Certification in Cloud & Devops |
Certification in Full Stack Web Development
Big Data and Data Science Master’s Course |
Data Science Architect Master’s Program |
Cloud and DevOps Architect Master’s Course |
Artificial Intelligence Engineer Master’s Course |
Microsoft Azure Certification Master’s Training
Data Science Course Online |
Big Data Hadoop Certification Training |
Machine Learning Course Online |
Artificial Intelligence Course and Training |
Salesforce Certification Training: Administrator and App Builder |
Tableau Training and Certification Course |
Python Data Science Course & Training |
Ethical Hacking Course |
Business Analyst Course |
Courses in Cyber Security
© COPYRIGHT 2011-2021 INTELLIPAAT.COM. ALL RIGHTS RESERVED.