Manual Installation of the BMS Package in R
Package Binaries
BMS package binaries - Latest version 0.3.0
- Package source (for Linux, Mac): BMS_0.3.0.tar.gz
- Windows binary for R versions 2.5 to 2.9: BMS.zip
- Windows binary for R version 2.10 and above: BMS.zip
- R workspace with BMS functions (limited): BMS.RData
The following instructions show how to install the lasted build BMS package manually under four different configurations:
- Manual Installation under Windows
- Manual Installation under Linux / Unix
- Manual Installation under Mac OS
- Use BMS in Case Installation Fails
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
- Download a BMS.zip to somewhere on your local disk, depending on your R version (find out my R version):
- If you are running R version 2.10 or above (for instance, if you had installed R just now) then download the BMS.zip for R>= 2.10
- If you are running an R version between 2.5 and 2.9.2, then download BMS.zip for R versions 2.5 to 2.9
- Open the R-Gui (typically double-click the R icon on your desktop):
- In the menu, click on
Packagesand selectInstall package(s) from local zip files... - Navigate to your local copy of BMS.zip and press
Open. - BMS should be installed now - type the following (in R) to verify: First
library(BMS)(wait for execution), thenhelp(BMS).
Manual Installation under Linux
- Download the BMS_0.3.0.tar.gz tarball to somewhere on your local disk.
- Open a console, and navigate to the folder containing
BMS_0.3.0.tar.gz. - 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) - BMS should be installed now - type the following in R to verify: First
library(BMS)(wait for execution), thenhelp(BMS).
Manual Installation under Mac OS
- Download the BMS_0.3.0.tar.gz tarball to somewhere on your local disk.
- Open R
- In the R menu, click on
Packages & Dataand selectInstall package(s)(or use the key combinationAlt+Apple+I). - In the window that opens, select
Local Package (Source)above and press theInstall...button below. - Locate the file
BMS_0.3.0.tar.gzon your machine. - Close and re-open R
- BMS should be installed now - type the following in R to verify: First
library(BMS)(wait for execution), thenhelp(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.)