mlxR requires to install first the Monolix Suite from here
mlxR 4.2 is compatible with the Monolix Suites 2019R1 and 2019R2 (both recommended), 2018R2 and 2018R1.
mlxR 4.2 is used with the Monolix Suite 2019R1or 2019R2, it is necessary to install the R package
lixoftConnectors. By default, the command line for installing
# 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:
Look at the installation procedure for more details.
You can either
mlxR 4.2 from CRAN:
- install the development version of
mlxR from GitHub:
See the release notes for more details on the current versions of
mlxR on CRAN and GitHub.
Monolix has evolved a lot in the 2020 version, and the Lixoft connectors also. As a consequence,
mlxR is not compatible with Monolix 2020R1, but a new R package is available on the CRAN which is compatible with Monolix 2020R1:
You need Monolix <= 2019R2 if you want to use
mlxR. It’s not a problem since you can have both the 2019 and the 2020 versions installed on the same machine.
Assume that you have installed Monolix 2020R1 and Monolix2019R2 on your machine. Assume that you have installed
lixoftConnectors (2020) package in the default library. Then, the solution is to keep
mlxR linking to the 2019 version of Monolix and use the 2019 connectors:
mlxRand link it to Monolix2019R2:
R scripts and
Mlxtran codes used for the user guide and the case studies: