The current R version of MAGI is now available as a package on CRAN, and may be installed via
install.packages("magi")
Please see https://cran.r-project.org/package=magi for the full documentation and vignette.