Learn R Programming

eyelinkReader (version 1.0.3)

read_preamble: Reads edf-file preamble

Description

Read the preamble of the EDF file and parses it into an reading-friendly format

Usage

read_preamble(file, fail_loudly = TRUE)

Value

a character vector but with added class eyelinkPreamble to simplify printing.

Arguments

file

name of the EDF file

fail_loudly

logical, whether lack of compiled library means error (TRUE, default) or just warning (FALSE).

Examples

Run this code
# \donttest{
 if (eyelinkReader::compiled_library_status()) {
  read_preamble(system.file("extdata", "example.edf", package = "eyelinkReader"))
}
# }

Run the code above in your browser using DataLab