The R package x12