R Packages

Overview

All R packages are hosted on CRAN, R-Forge and GitHub. Hence, the installation of package foo can be accomplished as follows:1

## Installing from CRAN
install.packages("foo")
## Installing from R-Forge
install.packages("foo", repos = "http://R-Forge.R-project.org")
## Installing from GitHub
library(devtools)
install_github("bpfaff/foo")

List of packages

cccp

Routines for solving convex optimization problems with cone constraints by means of interior-point methods. The implemented algorithms are partially ported from CVXOPT, a Python module for convex optimization (see http://cvxopt.org for more information).

evir

Functions for extreme value theory, which may be divided into the following groups:

  • exploratory data analysis,
  • block maxima,
  • peaks over thresholds (univariate and bivariate),
  • point processes,
  • GEV/GPD distributions.

FRAPO

Accompanying package of the book Financial Risk Modelling and Portfolio Optimisation with R, second edition, 2018, John Wiley & Sons. The data sets used in the book are contained in this package.

gogarch

Implementation of the GO-GARCH model class.

mcrp

Multiple criteria risk parity optimization with respect to higher moments.

QRM

Accompanying package to the book Quantitative Risk Management: Concepts, Techniques and Tools, first edition by Alexander J. McNeil, Rüdiger Frey, and Paul Embrechts.2

rbtc

Implementation of the RPC-JSON API for Bitcoin and utility functions for address creation and content analysis of the blockchain.

rneos

Implementation of the the XML-RPC API to NEOS. This enables the user to pass optimization problems to NEOS and retrieve results within R.

urca

Unit root and cointegration tests encountered in applied econometric analysis are implemented (accompanying package to the book Analysis of Integrated and Cointegrated Time Series with R).

vars

Estimation, lag selection, diagnostic testing, forecasting, causality analysis, forecast error variance decomposition and impulse response functions of VAR models and estimation of SVAR and SVEC models (accompanying package to the book Analysis of Integrated and Cointegrated Time Series with R).


  1. The exception to this rule is the package mcrp, which is only provided on GitHub. [return]
  2. Accompanying R packages for the second edition are qrmtools and qrmdata, both are hosted on CRAN. [return]