ABC to R