Requirements

Using Rsmlx requires to install first the MonolixSuite from here.

Rsmlx 4.0.x is compatible with MonolixSuite 2021R1. It is not compatible with previous versions of Monolix.

It is also necessary to install the R package lixoftConnectors. By default, the command line for installing lixoftConnectors is:

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

# for MAC OS
install.packages("/Applications/MonolixSuite2021R1.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 Rsmlx

Install Rsmlx from CRAN:

install.packages("Rsmlx")

Install the development version of Rsmlx from GitHub:

devtools::install_github("MarcLavielle/Rsmlx")

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


Download the demo examples

Download the R scripts and Monolix projects used for the user guide: