Skip to contents

Reads an eon file from disk and parses it into the corresponding R representation.

Usage

read_eon(path)

read_eon(path)

Arguments

path

Path to an eon file.

Value

An R object representing the eon file's contents.

Examples

tmp <- tempfile(fileext = '.eon')
write_eon(list(x = 1L, y = 'hello'), tmp)
read_eon(tmp)
#> $x
#> [1] 1
#> 
#> $y
#> [1] "hello"
#>