Mollie Brooks edited this page Dec 14, 2017 · 10 revisions

CRAN (all platforms)

In R type:


You will also need compiler tools.

Windows - installing required tools

On Windows install the Rtools matching your R-version. Remember to

  • Mark the check box that allows the installer to modify your PATH.
  • Restart R after installing Rtools.

Mac OS - installing the required tools

On High Sierra (Mac OS 10.13.1) it may be necessary to install command line developer tools by running the following code in a Terminal:

 xcode-select --install

On Mavericks (Mac OS 10.9) the Fortran compiler on the CRAN website does not work. More information and the solution can be found here. The easiest solution is to install the appropriate fortran libraries from r.research.att via the command line in Terminal:

curl -O
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

Test the installation

## Optionally:
## precompile()

Run the example suite

To get the full suite of examples run:

download.file("", "")

Change directory


and run e.g. the sam example by

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.