set.sylly.env {sylly} | R Documentation |
A function to set information on your sylly environment
Description
The function set.sylly.env
can be called before any of the hyphenation functions. It writes information
on your current session's settings to your global .Options
.
Usage
set.sylly.env(..., validate = TRUE)
Arguments
... |
Named parameters to set in the sylly environment. Valid arguments are:
To explicitly unset a value again, set it to an empty character string (e.g.,
|
validate |
Logical,
if |
Details
To get the current settings, the function get.sylly.env
should be used. For the most part, set.sylly.env
is a convenient wrapper for
options
. To permanently set some defaults, you could also add
respective options
calls to an .Rprofile
file.
Value
Returns an invisible NULL
.
See Also
Examples
set.sylly.env(hyph.cache.file=file.path(tempdir(), "cache_file.RData"))
get.sylly.env(hyph.cache.file=TRUE)
## Not run:
# example for setting permanent default values in an .Rprofile file
options(
sylly=list(
hyph.cache.file=file.path(tempdir(), "cache_file.RData"),
lang="de"
)
)
# be aware that setting a permamnent default language without loading
# the respective language support package might trigger errors
## End(Not run)