Home Get BMS Documentation Tutorials BMA Resources BMS Blog

Installing the BMS package

BMS is a package for the open-source statistical language R and might most easily be installed via the CRAN repository.
It is preferable to install BMS from R, although some users might prefer manual installation via the package binaries site.


Install BMS directly within R

Note that before installing BMS, you first need to have R installed, of course.
Within R, whether you are under Windows, Linux or Mac, just type:

install.packages("BMS")

That should be it. If you dont know how to work with it yet, type vignette("bmsmanual") for a hands-on introduction.

Install BMS from this server

Open the R console (e.g. by double-clicking the R icon on your desktop) and type:

install.packages("BMS", repos="http://bms.zeugner.eu/getBMS/tarballs")

The online tutorials demonstrate how to use the package. Note that every time you want to use BMS, the package has first to be 'loaded' from within R with the command library(BMS).

 


Workaround if the default does not work

If the above does not work and you are running any R version larger than 3.1:

Open the R console (e.g. by double-clicking the R icon on your desktop) and type:

install.packages("BMS", contriburl="http://bms.zeugner.eu/getBMS/tarballs/src/contrib", type="source")

The online tutorials demonstrate how to use the package. Note that every time you want to use BMS, the package has first to be 'loaded' from within R with the command library(BMS).

 


Alternative: Download Binaries and Install Manually

Alternatively to CRAN, the package might be downloaded from the package binaries site and installed locally.
The site includes instructions for manual installation. Moreover it provides an alternative way to load the source code from the web.