Workshop materials

"Boot Camp" in wildlife study design and data analysis


Software and materials for the Boot Camp at Xishuangbanna, China, 30 March - 10 April 2017

Before the workshop

Before the workshop, please do the following:

  1. Download the Knowledge Survey and fill it in; hand this in when you arrive at the Boot Camp venue.
  2. Prepare ONE PowerPoint SLIDE to introduce yourself and send to <stats.bcss@gmail.com>. We'll put those together and show them during the introductions at the beginning of the workshop. The aspect ratio should be 4:3; go to Page Setup and select Slides sized for: On-screen Show (4:3).
  3. Check the operating system on your LAPTOP: you should have Windows 7, 8 or 10; Mac 10.9 (Mavericks) or later; or Ubuntu Trusty or later. Our software will not work on Windows XP or 'big cat' versions on Mac. If you have a Mac, you will need the XQuartz utility installed.
  4. Download and install the necessary software (see below) on your laptop, in particular the R and JAGS programs. If you need help from the IT department to install software, ask them to go to http://bcss.org.my/software.htm for more details, or you can download this pdf and pass it to them.
  5. Download and preview the workshop materials (see below). Look at the PDFs and the internet links. We don't expect you to have read everything - and we won't actually use everything - but you should know what's in the folders.


You will need the following software installed on your laptop:

R, JAGS and rjags

  • If you use a Mac, see here. If you use Ubuntu, go here. What follows applies to Windows users.
  • Download and install R statistical software. You should have version 3.3.0 or later; if you have an old version please install the newest.
  • If you use Chinese fonts (or other non-Western fonts), open R and type (or copy-paste):
    tempdir() ; Sys.getenv("R_USER")
    You should see something like this appear:
    [1] "C:\\Users\\yourname\\AppData\\Local\\Temp\\Rtmpxxxxxx"
    [1] "C:\\Users\\yourname\\Documents"
    If the output includes non-Western characters or strange symbols or something like <U+611B>, some of the functions we need will not work. Please contact us at the beginning of the conference for a workaround.
  • Download and install JAGS 4.2.0 using the new Windows installer, "JAGS-4.2.0-Rtools33.exe". (Note that the "JAGS-4.2.0.exe" installer is not compatible with R 3.3.0 or later.)
  • After installing R and JAGS, install rjags by opening R and typing
    A box may pop up asking about personal libraries: click Yes. You will need to select a mirror web site near you, or choose 0-cloud, which is a world-wide network.

    Check that it works with
    You should get a message telling you that rjags has linked to JAGS 4.2.0.

Other R packages

  • Open R and copy/paste the following line into the Console:
    install.packages(c("wiqid", "shiny", "secr", "beeswarm"))
    If you get a message asking "Do you want to install from sources...", just type "n" and press enter.

If you have problems installing R packages, don't worry: we can fix this at the beginning of the workshop.

A spreadsheet program

  • You should have either LibreOffice Calc (which is free software) or Microsoft Excel 2010 or later with the Solver add-in (see here for details). If you have an earlier version of Excel, upgrade or install LibreOffice. Don't use Kingsoft WPS software, as their Solver doesn't work properly.

A PDF reader

  • You need a PDF Reader which allows you to annotate PDFs, such as Adobe Reader.


The provisional schedule for the workshop is here.

Click here to download materials for Days 1 to 3 (ZIP, 1.5MB)

Click here to download materials for Days 4 to 6 (ZIP, 3.2MB)

Click here to download materials for Days 7 to 9 (ZIP, 3.4MB)

After downloading, extract the files and put them in a folder on your hard disk, eg, in Documents. Don't put it on the Desktop as some programs can't easily access the desktop.

Please "think before you print"! Hard copies of the files beginning "PRN_..." will be distributed at the workshop.

The instructor team

Look out for us during the Conference.

Ngumbang Juat, BCSS staff and gibbon researcher.

Tan Win Sim, WCS Malaysia tiger researcher and data analyst. Speaks Mandarin.

Dr Dusit Ngoprasert, KMUTT lecturer, interested in large mammals and galliformes.

Mike Meredith, BCSS and WCS, background in park and wildlife management.


Page updated 19 March 2017 by Mike Meredith