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 executed 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 dual package

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

install.packages("dual")

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 dual_0.0.5.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 dual_0.0.5.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/dual")

Updating the dual package

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

update.packages("dual")

Removing the dual package

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

remove.packages("dual")


Try the dual package in your browser

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

dual documentation built on Oct. 3, 2023, 9:07 a.m.