Bayz Manual

Installation and download

Install directory and path

For convenient use of bayz, it is advised to install bayz in a central directory and edit the system path to include the bayz directory. For Mac/linux suggested locations are the $HOME/bin/ directory (for personal use, $HOME is your home folder), or something like /user/local/bin/ (for all users on a system); for Windows it can be in C:\Program Files\Bayz\. Note that there is no install package for bayz, if these folders do not exist, create them on your computer. Note: some linuxes already have a $HOME/bin/ folder and have this location already in the default PATH - if you choose to install bayz here you have to do nothing more.

Then, set the system PATH variable to include the bayz location. For Mac/linux edit the .bash_profile that is in your $HOME directory (or create it when it does not exist), and add a line:

   export PATH="$HOME/bin:$PATH"
For Windows, edit (or add) a Path variable that can be found in the System settings - Advanced Settings - Environment variables (a button at the bottom of the Advanced Settings tab) - User variables.

License Key

If you have a license key (bayz.key.txt), place it in the installation directory. Bayz can also run without a license key, but the analyses that can be performed without license key are limited.

Latest Download - Bayz version 2.5xx

The latest 2.5xx version is now 2.59 and is available for download as follows:

For linux:

Download and unpack directly on the linux prompt at the install location by running the commands:

wget http://www.bayz.biz/bayz2.59.6_lin64.tar.gz
tar -xzvf bayz2.59.6_lin64.tar.gz

For Mac OSX:

From a terminal prompt:

curl -C - -O http://www.bayz.biz/bayz2.59.6_mac64.tar.gz
tar -xzvf bayz2.59.6_mac64.tar.gz

For windows:

Click here to download the zip-file with executables. Unpack the contents in the installation directory

Rbayz - R scripts to run bayz from R

A number of standard/basic models is available through an R interface. See the section on Bayz in R for details. To use Rbayz models, a convenient way that guarantees to always have the latest version, is to download the Rbayz scripts from the web at every R session that needs it, using in R:

> source("http://www.bayz.biz/Rbayz.R")
To avoid downloading from the web in every R session, you can also download and place in your bayz installation folder this Rbayz.R source file (you may need to right-click and choose Download File as ...). Then, from R use for instance (for a unix/linux installation of bayz in $HOME/bin):
> source("~/bin/Rbayz.R")