R scripts for MML conversions, ongoing