Learn R Programming

multicastR (version 1.3.0)

mc_reflist: Convert TSV referent lists to TSV and TEX

Description

mc_reflist reads lists of referents in TSV format and outputs them (i) as TSV files bundled for the whole collection and (ii) by corpus, and (iii) as files with TEX markup that can be rendered as a multi-column parallel text by the TeX package paracol. Regular users of multicastR will likely find no use for this function; it's sole purpose is to facilitate the creation of the 'List of referents' supplementary materials included with Multi-CAST.

Usage

mc_reflist(readfrom = getwd(), recursive = FALSE, writeto = getwd())

Arguments

readfrom

Directory from which to read EAF files. Defaults to getwd.

recursive

Logical. If TRUE, the function recurses into subdirectories.

writeto

A directory to which to write output. Defaults to getwd.

Value

Nothing.

Examples

Run this code
# NOT RUN {
  # read all TSV files in the current working directory
  # and write one TEX file for each TSV file to the same
  # location
  mc_reflist()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab