RPad
English
RPad icon

RPad R's statistics, on your iPad.

You understand an analysis by doing it: load the data, try a model, read the output, start again. RPad puts that work in your hands wherever you do your thinking, with the R language and R's results.

For iPad, with iPadOS 17 or later. Free to download: a full 7-day trial, then 30 CHF a year or 90 CHF as a one-time purchase.

shot-workspace.png
The RPad workspace: the script on the left, the console in the middle, the environment and plots on the right.

Thinking with data, wherever you think

You learn statistics by putting questions to the data yourself: you fit a model, read the output, get it wrong, try again. In psychology, as in many other fields, that conversation happens in R: it is the language of courses, textbooks and papers. We believe it should be possible to have it anywhere — in class, in the library, on the train — and to get the same results as in a paper. That is why RPad exists: to make the iPad a complete statistics workstation.

An R engine written for the iPad

RPad has its own R engine, written for the iPad: it reads and runs the R language on the device itself. A result is only worth having if it is correct, so we compare RPad with R. Every package marked with a star in RPad has passed test scripts whose output is R's output: the same estimates, the same tests, the same plots. There are 75 of them today, from the tidyverse to lme4 and brms. Where a difference is known, the app describes it next to the package.

Open a script

A .R file from the Files app or iCloud Drive, or a new script. Data is read as in R: read.csv(), readr, readxl for Excel, haven for SPSS, Stata and SAS.

Run it

The current line, or the whole script at once; or type straight into the console. With a keyboard, ⇧⌘↩ runs the whole script.

Read the result

The output in the console, the objects in the environment, the plots in their tab, and as PDF, PNG or SVG files with pdf(), png() or svg().

What you will find

The R workspace

Script, console, environment, history, files, plots, packages and help: the panes everyone who has learned R knows, on the iPad screen.

Classical tests

t-tests, ANOVA and multiple comparisons, χ², correlations, linear and logistic regression; effect sizes and power with lsr and pwr; type II and III ANOVA with car.

Mixed models

lme4 and nlme for random effects, pbkrtest for Kenward-Roger tests, mgcv for additive models, survival for time-to-event data.

Psychometrics

psych and GPArotation: Cronbach's alpha, factor and principal component analysis, rotations, descriptive statistics by group.

Bayesian models

Stan through cmdstanr, brms and rethinking: models are compiled on the iPad itself. BayesFactor for Bayes factors; posterior, loo and coda to read the chains.

The tidyverse

dplyr, tidyr, purrr, readr, stringr, forcats, lubridate and ggplot2; data.table for large tables; dagitty for causal graphs.

Packages from CRAN

The Packages tab searches CRAN and installs packages; install.packages() works in the console too. A star marks the packages whose output has been checked against R.

Plots

Base graphics and ggplot2 appear in their tab. For a paper, pdf() and svg() give vector figures, sharp at any size.

What it looks like

shot-ggplot2.png
A ggplot2 plot and the script that draws it.
shot-lme4.png
A mixed model with lme4: the output is R's.
shot-brms.png
A Bayesian model with brms, compiled and sampled on the iPad.
shot-packages.png
The Packages tab: CRAN packages, with a star on those checked against R.

Checked against R

Each package below has been tried in RPad with scripts whose output is compared, line by line, with R's:

R's base packages — base, stats, graphics, utils, datasets — are implemented in the engine and checked the same way; base graphics are compared stroke by stroke with R's PDFs.

Who is it for?

For the psychology student taking a statistics course in R who wants to redo the exercises anywhere; for the researcher who reviews an analysis, checks a mixed model or fits a Bayesian model between meetings; for the teacher who runs a script in front of the class and leaves it with the students.