This morning I wanted to install packagedocs to produce web documentation for a package. Packagedocs is based on staticdocs. They required an upgrade to R >= 3.2.0.
Installing R 3.2.3
Based on Debian packages for R software, I added this line to /etc/apt/sources.listdeb http://cran.univ-paris1.fr/bin/linux/debian jessie-cran3/Reloaded package information in the synaptic package manager, marked all upgrades and installed the package.
Installing packages
Some packages can be installed from the CRAN repositoryinstall.packages("Rcpp")Other packages are not available on CRAN. They can be installed from github:
install.packages("ggplot2")
install.packages(c("dplyr","tidyr"))
install.packages("ggplot2")
install.packages(c("dplyr","tidyr")
devtools::install_github("hadley/staticdocs")
devtools::install_github("hafen/packagedocs")
See also my older post on R packages and RStudio install on Debian Wheezy.
No comments:
Post a Comment