Requirements

Using mlxR requires to install first the Monolix Suite from here

mlxR 4.1 is compatible with the Monolix Suites 2019R1 and 2019R2 (both recommended), 2018R2 and 2018R1.

When mlxR 4.1 is used with the Monolix Suite 2019R1or 2019R2, it is necessary to install the R package lixoftConnectors. By default, the command line for installing lixoftConnectors is:

# for Windows OS
install.packages("C:/ProgramData/Lixoft/MonolixSuite2019R2/connectors/lixoftConnectors.tar.gz", 
                 repos = NULL, type="source") 

# for MAC OS
install.packages("/Applications/MonolixSuite2019R2.app/Contents/Resources/monolixSuite/connectors/lixoftConnectors.tar.gz", 
                 repos = NULL, type="source") 

Note that the lixoftConnectors package requires the RJSONIO package which can be installed from CRAN:

install.packages("RJSONIO")

Look at the installation procedure for more details.


Install mlxR

You can either

        - install mlxR 4.1 from CRAN:

install.packages("mlxR")


        - install the development version of mlxR from GitHub:

devtools::install_github("MarcLavielle/mlxR")

See the release notes for more details on the current versions of mlxR on CRAN and GitHub.


Download the demo examples

Download the R scripts and Mlxtran codes used for the user guide and the case studies: