This package provides an R interface to jTRACE, a re-implementation of the TRACE model of spoken word recognition (McClelland & Elman, 1986) created by Strauss, Harris & Magnusson (2007). Using the functions in this package you can generate the files you need to perform simulations in jTRACE.

What is jTRACE?

From jTRACE website:

TRACE is a highly influential model of spoken word recognition, created by McClelland and Elman (1986). The original implementation of that model, which we call “cTRACE,” was used to run dozens of simulations comparing TRACE’s behavior with results from experimental studies with human subjects. TRACE’s behavior accounted for human behavior in a number of important ways, and it is still frequently cited as the canonical interactive-activation model of word recognition.

Installation

You can install it from GitHub with:

# install.packages("devtools")
devtools::install_github("bilingual-project/jtracer")

Installing and launching jTRACE

First, you need to download jTRACE. You can do it from the R console running:

jtracer::jtrace_install()

This will download the jTRACE folder from https://magnuson.psy.uconn.edu/jtrace/. This function will also check if a sufficiently recent version of Java is up and running (>1.4). If not, it will prompt you to do it.

Once an appropriate version of Java is up and running and jTRACE has been installed, you will be able to launch jTRACE with:

jtracer::jtrace_launch()