Getting TraMineR
Installing/upgrading
Installing from the CRAN
If you have the latest version of
R, you can just install TraMineR from the
CRAN either
!!! With older versions of R, you may get only older versions of TraMineR. In that case install from our local repository as described hereafter.
Checking for updates
If TraMineR is already installed on your system, you can check for available updates by typing
library(TraMineR)
TraMineR.checkupdates()
Install/upgrade from the TraMineR local repository
Windows and Mac OS X
Binaries of the latest stable version of TraMineR for
R versions 2.7 to 2.10 are available from our local repository. To install or update TraMineR just type (or copy/paste) in the
R console:
install.packages("TraMineR", repos="http://mephisto.unige.ch/traminer/R")
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 thus 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