Build Status Coverage Status CRAN Downloads Mentioned in Awesome Official Statistics


The R package x12 is used in combination with the X-12 ARIMA/X13-ARIMA-SEATS Seasonal Adjustment Program.

By default (since version 1.7.0) the x13binary R package is used to provide the binaries.

But a local/alternative version could also be used which can be downloaded from for Windows, Linux and as Source Code. After the installation the x13as.exe or the x13as executable should be on your system. The path to the executable is important it is set with the function x12path, e.g., x12path(“d:/X12InstallationPath/x13as.exe”) or x12path(“/usr/bin/x13a”).

X-13ARIMA-SEATS ( is the current version of the seasonal adjustment program of the US Census Bureau, it can also be used in connection with the R package x12, but at the moment the SEATS Spec is not included in the package at the moment, it is planned to include it in a future release.

On Mac OS X and Linux it is possible to compile x12a or x13as, the Makefile template ‘makefile.lnx’ has to be adapted and copied to Makefile afterwards ‘make’ should work to create the exexcutables.