Installation
Haplin is implemented as a standard package in the R software and thus runs on Windows, Linux and MAC. Running Haplin requires no previous knowledge of R.
R can be downloaded free of charge from The R Project for Statistical Computing. For Windows users, a shortcut to the R installation file is found here.
To install Haplin, start R and use:
install.packages("Haplin")
which fetches the newest Haplin version from the CRAN repository and installs it on your computer.
To use Haplin in an R session, use
library(Haplin)
NOTE: When running Haplin on Windows, the ff package (called by Haplin) may require Rtools to be installed. If not installed, Haplin function genDataRead sometimes produces an error message about a missing zip. We thus recommend having Rtools installed, although it is not always necessary.
You can install Rtools following the instructions here:
https://cran.r-project.org/bin/windows/Rtools/
Notes on older versions of Haplin
Due to the removal of GenABEL from CRAN on 24 May 2018, newer versions of Haplin, from Version 7.0.0 onwards, have been made independent of GenABEL.
Thanks to Julia Romanowska for converting the data handling system to rely on the ff package instead.
Please check the data format descriptions for details on how to use the new system.