inst/INSTALL.md

Installation requirements and instructions

Requirements

Most recent versions of the following software are always preferred, however the minimal requirements are also specified. The common software required by three main-stream operative systems are provided below, and any specific requirement is treated separately:

To install the required packages, the following R code should be exectued before the installation:

pkgnames <- c("Rcpp", "RcppArmadillo", "devtools")
pkgnames <- pkgnames[!pkgnames %in% .packages(TRUE)]
if (length(pkgnames)) install.packages(pkgnames)

To update all the installed packages to the last version available, the following command line should be typed into an R console:

update.packages(ask = FALSE)

The additional software must be installed before to update the required packages.

Additional software on Linux

Additional software on Windows

Additional software on (Mac) OS X

Package management

Installing the stable release of the inca package

The use of the following R command is highly suggested to install the inca package:

install.packages("inca")

The other alternative to install an R package is from its source-code compressed as a tarball archive. This can be done by entering the following command into a terminal session on Linux and (Mac) OS X :

R CMD INSTALL inca_0.0.4.tar.gz

On Windows, by opening the command prompt (cmd.exe), it is possible to point to the proper directory with cd, and then install the package via Rcmd.exe with the following command:

Rcmd.exe INSTALL inca_0.0.4.tar.gz

More details can be found on the "Installing packages" section of the R-admin manual.

Installing the current development version of the package

devtools::install_github("drwolf85/inca")

Updating the inca package

To update the inca package, it is necessary to type the following code from the R console:

update.packages("inca")

Removing the inca package

To remove inca from the list of R packages, it is necessary to type the following code from the R console:

remove.packages("inca")


Try the inca package in your browser

Any scripts or data that you put into this service are public.

inca documentation built on Sept. 19, 2019, 9:07 a.m.