Create pml2.R