Friday, 20 January 2017

How to download an R package from github...

https://cran.r-project.org/web/packages/githubinstall/vignettes/githubinstall.html

Need dev tools first:

library(devtools)

then use the install_github() function
install_github("hadley/dplyr")

There is a difference between install.packages() and install_github() in the required argument. install.packages() takes package names, while install_github() needs repository names. It means that when you want to install a package on GitHub, you must remember its repository name correctly.


I want to work out how to load ggphylo....
https://github.com/gjuggler/ggphylo



No comments:

Post a Comment