Theo Pepler

Home | Research | Teaching | Software | Links | HOWTO's

HOWTO: DOWNLOAD AND INSTALL THE SLHV SIMINF PACKAGE IN R

The SLHV package contains a custom model for use with the SimInf modelling framework.
  1. From the command line, navigate to a directory on the local computer where you will download and save the source files for the SLHV model (the Downloads folder, for example).
  2. Clone the GitHub repository to the local folder with

    git clone https://github.com/tpepler/SLHV

  3. From the R command prompt, use

    install.packages('~/Downloads/SLHV', repos = NULL, type = 'source')

    to compile and install the SLHV package from source files. (Note that you will need to change ~/Downloads in the above code to the folder where the SLHV repository is cloned.)

Note: You might need to restart R for the SLHV package to work properly, if there was any updates to the SLHV package since a previous installation.