Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract_chunks

Extract log-frames from an Eprime log file


Description

Almost all of the information in an Eprime file comes in chunks of text bracketed by the lines *** LogFrame Start *** and *** LogFrame End ***. The exception is the header information which is bracketed by *** Header Start *** and *** Header End ***.

Usage

extract_chunks(eprime_log)

Arguments

eprime_log

a character vector containing the lines of text from Eprime txt file

Details

extract_chunks extracts the bracketed text, storing each log-frame of text in a list. The lists also include some additional lines of text as metadata: Eprime.FrameNumber and Eprime.Basename (the name of the source file). The header log-frame also gets dummy lines: Procedure: Header and Running: Header.

These character vectors of colon-separated lines are converted into proper lists by FrameList(...).

Value

a list of character vectors, where each vector contains the lines of a log-frame


rprime

Functions for Working with 'Eprime' Text Files

v0.1.2
GPL-2
Authors
Tristan Mahr [aut, cre] (<https://orcid.org/0000-0002-8890-5116>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.