sylly (version 0.1-2)

get.sylly.env: Get sylly session environment

Description

The function get.sylly.env returns information on your session environment regarding the sylly package, e.g. whether a cache file should be used, if it was set before using set.sylly.env.

Usage

get.sylly.env(..., errorIfUnset = TRUE)

Arguments

...

Named parameters to get from the sylly environment. Valid arguments are:

lang

Logical, whether the set language should be returned.

hyph.cache.file

Logical, whether the set hyphenation cache file for hyphen should be returned.

hyph.max.token.length

Logical, whether the set maximum token length should be returned.

errorIfUnset

Logical, if TRUE and the desired property is not set at all, the function will fail with an error message.

Value

A character string or list, possibly including:

lang

The specified language

hyph.cache.file

The specified hyphenation cache file for hyphen

See Also

set.sylly.env

Examples

Run this code
# NOT RUN {
set.sylly.env(hyph.cache.file="/tmp/cache_file.RData")
get.sylly.env(hyph.cache.file=TRUE)
# }

Run the code above in your browser using DataLab