Select Page

Installation

Requirements

Using Rsmlx requires to install first the MonolixSuite from here.

Rsmlx 2023.1 is compatible with MonolixSuite 2023R1, 2021R2 and 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/MonolixSuite2023R1/connectors/lixoftConnectors.tar.gz", 
                 repos = NULL, type="source") 

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