Manual Installation of the BMS Package in R
Package Binaries
BMS package binaries - Latest version 0.3.5
- Package source (for Windows, Linux, Mac): BMS_0.3.5.tar.gz
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
- Previous Releases
- Source Code
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:
- Find out your R version (find out my R version)
Then look forBMS_0.3.5.zip
for your R version here: bms.zeugner.eu/getBMS/tarballs/bin/windows/contrib/ - Download the
BMS_0.3.5.zip
to somewhere on your local drive - Open the R-Gui (typically that is RStudio) :
- Under RStudio, in the menu, click on
Tools
, selectInstall package(s)
and clickBrowse...
- Alternatively, under the default R-GUI, in the menu, click on
Packages
and selectInstall package(s) from local zip files...
- Under RStudio, in the menu, click on
- 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.5.tar.gz tarball to somewhere on your local disk.
- Open a console, and navigate to the folder containing
BMS_0.3.5.tar.gz
. - 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) - 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.5.tar.gz tarball to somewhere on your local disk.
- Open R
- In the R menu, click on
Packages & Data
and 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.5.tar.gz
on 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)
.
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)