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:
R software: the minimal requirement is R version 3.5.1.
R packages (it is recommended if the most recent versions of the following packages are installed):
Rcpp
, for interfacing C++ code with R;RcppArmadillo
, for interfacing C++ algorithms for linear algebra with R;devtools
, for developing utilities and interfaces with on-line repositories;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.
Rtools33.exe
, or other versions according to the R version already installed. Successively, the environmental variable PATH
must be edited, because it must include the folders containing the GNU compilers provided.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.
devtools::install_github("drwolf85/dual")
To update the dual package, it is necessary to type the following code from the R console:
update.packages("dual")
To remove dual from the list of R packages, it is necessary to type the following code from the R console:
remove.packages("dual")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.