The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation [2020/11/18 09:34] Wolfgang Viechtbauerinstallation [2023/06/21 06:49] (current) Wolfgang Viechtbauer
Line 5: Line 5:
 The current official (i.e., [[https://cran.r-project.org/package=metafor|CRAN]]) release can be installed within R with: The current official (i.e., [[https://cran.r-project.org/package=metafor|CRAN]]) release can be installed within R with:
  
-<code rsplus>install.packages("metafor")</code>+<code rsplus> 
 +install.packages("metafor") 
 +</code>
  
 The same command can also be used to upgrade to the newest version if the package is already installed. The same command can also be used to upgrade to the newest version if the package is already installed.
Line 11: Line 13:
 You may receive one of several prompts during this process. If you are prompted whether you would like to use a personal library, answer 'Yes'. If you are prompted to choose a CRAN mirror, just select the first option. You may receive one of several prompts during this process. If you are prompted whether you would like to use a personal library, answer 'Yes'. If you are prompted to choose a CRAN mirror, just select the first option.
  
-Alternatively, you can download the source file or a Windows or Mac OS X binary from [[https://cran.r-project.org/package=metafor|CRAN]] and install the package manually. See the [[https://cran.r-project.org/manuals.html|R Installation and Administration]] manual for more details on how to install packages this way.+Alternatively, you can download the source file or a Windows or macOS binary from [[https://cran.r-project.org/package=metafor|CRAN]] and install the package manually. See the [[https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Installing-packages|R Installation and Administration]] manual for more details on how to install packages this way.
  
 ==== Loading the Package ==== ==== Loading the Package ====
Line 17: Line 19:
 Once the package is installed, you can load it with: Once the package is installed, you can load it with:
  
-<code rsplus>library(metafor)</code>+<code rsplus> 
 +library(metafor) 
 +</code>
  
 For an overview and introduction to the package, just type: For an overview and introduction to the package, just type:
  
-<code rsplus>help(metafor)</code>+<code rsplus> 
 +help(metafor) 
 +</code>
  
 On this website, you can also find more information on how to obtain further [[help|documentation and help]] when using the package. On this website, you can also find more information on how to obtain further [[help|documentation and help]] when using the package.
Line 35: Line 41:
  
 Whenever a sufficient number of updates have accumulated in the devel version, it is submitted to CRAN and becomes the new official release (with a new version number). Whenever a sufficient number of updates have accumulated in the devel version, it is submitted to CRAN and becomes the new official release (with a new version number).
 +
installation.txt · Last modified: 2023/06/21 06:49 by Wolfgang Viechtbauer