Home Get BMS Documentation Tutorials BMA Resources BMS Blog

Manual Installation of the BMS Package in R

Package Binaries

BMS package binaries - Latest version 0.3.5

The following instructions show how to install the lasted build BMS package manually under four different configurations:

In most cases, BMS can be easily installed from the R console via CRAN. The options below apply to manual installation instead.


Manual Installation under Windows

Execute fthe following code in R: install.packages("BMS", repos="http://bms.zeugner.eu/getBMS/tarballs")
If this does not work, follow the steps below:

  1. Find out your R version (find out my R version)
    Then look for BMS_0.3.5.zip for your R version here: bms.zeugner.eu/getBMS/tarballs/bin/windows/contrib/
  2. Download the BMS_0.3.5.zip to somewhere on your local drive
  3. Open the R-Gui (typically that is RStudio) :
    • Under RStudio, in the menu, click on Tools, select Install package(s) and click Browse...
    • Alternatively, under the default R-GUI, in the menu, click on Packages and select Install package(s) from local zip files...
  4. Navigate to your local copy of BMS.zip and press Open.
  5. BMS should be installed now - type the following (in R) to verify: First library(BMS) (wait for execution), then help(BMS).

Manual Installation under Linux

  1. Download the BMS_0.3.5.tar.gz tarball to somewhere on your local disk.
  2. Open a console, and navigate to the folder containing BMS_0.3.5.tar.gz.
  3. Type R CMD INSTALL BMS_0.3.5.tar.gz
    (Note: you probably need root privileges to do this - if you do not have these, consult the FAQ for a workaround)
  4. BMS should be installed now - type the following in R to verify: First library(BMS) (wait for execution), then help(BMS).

Manual Installation under Mac OS

  1. Download the BMS_0.3.5.tar.gz tarball to somewhere on your local disk.
  2. Open R
  3. In the R menu, click on Packages & Data and select Install package(s) (or use the key combination Alt+Apple+I).
  4. In the window that opens, select Local Package (Source) above and press the Install... button below.
  5. Locate the file BMS_0.3.5.tar.gz on your machine.
  6. Close and re-open R
  7. BMS should be installed now - type the following in R to verify: First library(BMS) (wait for execution), then help(BMS).

Previous Releases

For reference, previous releases can be found here. To install, download your respective package, open a console under the download location and type R CMD INSTALL BMS_(your version number).tar.gz
For changes between releases, check the NEWS file.


Source code

In some cases it might not be possible to install the BMS package, for instance if not enough user privileges exist on a shared machine.
In this case you might try to install a private library as described in the FAQ under "I cannot install BMS because I am lacking root privileges - I get a message like: 'is not writeable'".
Or you load BMS directly for from the source code with the command source("http://bms.zeugner.eu/getBMS/source/setup.R"). This makes all functions available, however without the convenience of a package (e.g. no help files, etc.). For convencience, the files containing the source code are also available in consolidated form (including comments)