Quick install

Installing statcheck

To install statcheck, follow these steps:

Step 1.
In order to for statcheck to read PDF files, you need the program pdf-to-txt. You can download this program at http://www.foolabs.com/xpdf/download.html. Download the precompiled binaries and unzip them.

Step 2.
Add the folder with the binaries to the path, so that this program can be used from command line. For a short and clear instruction on how to add a program to the path, see this website.

For a step-by-step instruction with screen shots how to install pdf-to-txt, see this document. Many thanks to Daniël Lakens for taking the time to create this manual.

Step 3.
You can now download statcheck directly from CRAN in R with

install.packages(“statcheck”)
library(“statcheck”)

or you can look up the R code for statcheck with the latest fixes on my GitHub page. To directly install the newest version of statcheck in R from GitHub, run the following code:

devtools::install_github(“MicheleNuijten/statcheck”)
library(“statcheck”)


Installing statcheck on Mac

If you want to run statcheck on a Mac, follow these steps:

Step 1.
Download XQuartz. XQuartz is an open source version of the X.Org X Window System that runs on OS X. You can download it at http://xquartz.macosforge.org/landing/.

Step 2.
Download the binaries for pdf-to-txt and unzip them (see instructions above).

Step 3.
Add the location of the Xpdf binaries to your path. For a step-by-step instruction how to add something to the path on Mac, see this website.

Advertisements