Getting TraMineR

Installing/upgrading

Installing from the CRAN

First check that you have the latest version of R. You can then install TraMineR from the CRAN either !!! With older versions of R, you may get only older versions of TraMineR.

Checking for updates

If TraMineR is already installed on your system, you can check for available updates by typing
library(TraMineR)
TraMineR.checkupdates()

Linux and other Unixes

To install or update to the latest stable version of TraMineR just type in the R console:
install.packages("RColorBrewer")
install.packages("TraMineR")
Unlike Windows and Mac OS X versions, TraMiner is installed from the source package and compiled on your system. The tools needed for compilation must therefore be available on your system. On Ubuntu Linux, the r-base-dev package will install the necessary tools. To do this you can use the Synaptic package manager or open a terminal and type:
sudo apt-get install r-base-dev
If the RColorBrewer package is already installed on your computer, you can safely omit the install.packages("RColorBrewer") command. If it is not installed, RColorBrewer may alternatively be available as a distribution package on some Linux systems. On Ubuntu Linux for instance, you can install the r-cran-rcolorbrewer package by using the Synaptic package manager or by opening a terminal and typing:
sudo apt-get install r-cran-rcolorbrewer