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.0

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

  1. Download a BMS.zip to somewhere on your local disk, depending on your R version (find out my R version):
  2. Open the R-Gui (typically double-click the R icon on your desktop):
  3. 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.0.tar.gz tarball to somewhere on your local disk.
  2. Open a console, and navigate to the folder containing BMS_0.3.0.tar.gz.
  3. Type R CMD INSTALL BMS_0.3.0.tar.gz
    (Note: you probably need root privileges to do this - if you don't 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.0.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.0.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).

In Case BMS Installation Fails...

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 download the file BMS.RData to R's current directory and load it with load("BMS.RData"). This makes all functions available, however without the convenience of a package (e.g. no help files, etc.)