The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


installation

Download and Installation

Installing the Official Release

You can install the package (or upgrade to the latest official release version) directly within R by typing:

install.packages("metafor")

(assuming an internet connection and appropriate access rights on the computer). R will then download the package from CRAN (the Comprehensive R Archive Network) and automatically install it (or upgrade to the newest version if the package is already installed).

Alternatively, you can download the source files or a Windows or MacOS X binary from CRAN and install the package manually. See the R Installation and Administration manual for more details on how to install packages this way.

Loading the Package

Once the package is installed, you can load it with:

library(metafor)

For an overview and introduction to the package, just type:

help(metafor)

On this website, you can also find some more information on how to obtain further documentation and help when using the package.

Development Version

After installing the devtools package with install.packages("devtools"), the development version of the metafor package can be installed with:

library("devtools")
install_github("wviechtb/metafor")

This approach builds the package from source based on the development branch on GitHub.

Note that the version number of the development version is the same as that of the next upcoming official release. However, the actual code may still change before the next official release is made available via CRAN.

installation.txt · Last modified: 2016/03/03 10:37 by Wolfgang Viechtbauer