# Documentation:WeBWorK/The WeBWorKiR Project: Integrating WeBWorK with R

WeBWorK is widely used in math courses around the world, but its adoption in statistics has been limited. One reason is that while WebWork implements a broad range of arithmetic and calculus-type operations, it has little support for statistical concepts such as probability distributions or statistical models.

The WeBWorKiR (WeBWorK integrating R) project offers a solution in the form of integration between WeBWorK and the statistical computing software R. The open source software R is extremely popular in statistical research, analysis, and education. It provides a huge range of operations for statistical computation and graphics. The WeBWorKiR project has two main goals: (i) to allow WeBWorK to communicate with R and (ii) the creation of a large collection of homework questions for use in undergraduate instruction in statistics. With the WeBWorKiR project, instructors can use R code in their WebWorK problems to generate data, perform analyses, and create figures.

WeBWorKiR has been developed in the Department of Statistics since June 2012, with the funding from Teaching and Learning Improvement Fund. It has been used in a number of second- and third-year Statistics courses at UBC, reaching around 3000 students so far. The aim is that problems created and tested on students through the WeBWorKiR project are made available to all educators via WeBWorK's Open Problem Library.

If you are an instructor, please look at the authoring guide for information on writing WebWork questions that make use of R. If you are a WebWork system administrator, you can find setup information in our installation guide.