Select Page

Installation

Requirements

Using Rsmlx requires installing MonolixSuite from here as well as the lixoftConnectors R package included with MonolixSuite. Follow these steps:

  1. Install MonolixSuite
  2. Install lixoftConnectors dependancies (RJSONIO, ggplot2, and grixExtra)
  3. Install lixoftConnectors
  4. Install Rsmlx

 

Compatibility

  • Rsmlx 2024.1 is compatible with MonolixSuite 2024R1.
  • Rsmlx 2023.1 is compatible with MonolixSuite 2023R1, 2021R2 and 2021R1.
  • Versions of MonolixSuite prior to 2021R1 are not supported.

 

Installing lixoftConnectors

After installing MonolixSuite, install the R package lixoftConnectors that comes with it. By default, the command line for installing lixoftConnectors is:

# for Windows OS
install.packages("C:/Program Files/Lixoft/MonolixSuite2024R1/connectors/lixoftConnectors.tar.gz", 
                 repos = NULL, type="source", INSTALL_opts ="--no-multiarch")
# for Mac OS
install.packages("/Applications/MonolixSuite2024R1.app/Contents/Resources/\
                  monolixSuite/connectors/lixoftConnectors.tar.gz",
                  repos = NULL, type="source", INSTALL_opts ="--no-multiarch")

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

install.packages('RJSONIO')
install.packages('ggplot2')
install.packages('gridExtra')

More details, including installing older versions, can be found at the lixoftConnectors installation page.

 

Install Rsmlx

Install Rsmlx from CRAN:

install.packages("Rsmlx")

The development version of Rsmlx can be installed 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: