edit matR_batch_dl.r