read_vrt | R Documentation |
Import VRT (verticalized text) or WLP (word per line) files
read_vrt(file, no_xml = FALSE) read_wpl(file, no_xml = FALSE) write_vrt(file) write_wpl(file)
.x |
character. path to file or connection, see |
header |
logical. whether or not the first line should be used as column
names. Note: |
cols |
list. a list with column types (e.g. |
sep |
character. see |
comment.char |
character. off by default. replace if necessary |
quote |
character. see |
na.strings |
character. see |
nlines |
integer. number of lines in file, see |
... |
further arguments to be passed to |
These formats are used by common corpus indexing software, like CWB (.vrt) and Sketchengine (.wpl). These functions are convenience wrappers with to read from and create such file formats.
data.frame
read.table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.