This is an R markdown template and functions for writing and running jspsych experiments using R studio.

  • jspsych is javascript library for web-based behavioral experiments written by Josh De Leeuw.

  • If you are interested in other approaches to build jspsych experiments, also check out Danielle Navarro’s xprmntr, and jaysire

  • jspsychr developed as a forked offshoot of the original xprmntr package


# install.packages("devtools")



Read the getting started article (above) for an overview of how `jspsychr` works, and/or head over to the examples repo to see some examples,


Matt Crump {jspsychr}, Danielle Navarro {code to run experiments locally with plumber, and to save data from a local session}; Josh De Leeuw {the jspsych javascript library}