readDictionary | R Documentation |
Reads a dictionary (a list of "key = value"-pairs) from a text file.
readDictionary(file, sorted = TRUE, fileEncoding = "", ...)
file |
full path to dictionary file or connection as e.g. opened with
|
sorted |
if TRUE (default) the entries in the dictionary will be sorted by their keys |
fileEncoding |
passed to |
... |
further arguments passed to |
readDictionaries
file <- system.file("extdata", "dictionary.txt", package = "kwb.utils")
dictionary <- readDictionary(file)
resolve("file.out", dictionary, extension = "csv")
resolve("file.out", dictionary, extension = "pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.