with_envvar
(Package: withr) :
Environment variables
Temporarily change system environment variables.
● Data Source:
CranContrib
● Keywords:
● Alias: with_envvar
●
0 images
|
Temporarily change global options.
● Data Source:
CranContrib
● Keywords:
● Alias: with_options
●
0 images
|
with_sink
(Package: withr) :
Output redirection
Temporarily divert output to a file via sink . For sinks of type message , an error is raised if such a sink is already active.
● Data Source:
CranContrib
● Keywords:
● Alias: with_message_sink, with_output_sink, with_sink
●
0 images
|
withr
(Package: withr) :
Execute code in temporarily altered environment
All functions prefixed by with_ work as follows. First, a particular aspect of the global environment is modified (see below for a list). Then, custom code (passed via the code argument) is executed. Upon completion or error, the global environment is restored to the previous state.
● Data Source:
CranContrib
● Keywords:
● Alias: withr, withr-package
●
0 images
|
Temporarily change locale settings.
● Data Source:
CranContrib
● Keywords:
● Alias: with_locale
●
0 images
|
with_par
(Package: withr) :
Graphics parameters
Temporarily change graphics parameters.
● Data Source:
CranContrib
● Keywords:
● Alias: with_par
●
0 images
|
Temporarily prepend a new temporary directory to the library paths.
● Data Source:
CranContrib
● Keywords:
● Alias: with_temp_libpaths
●
0 images
|
with_dir
(Package: withr) :
Working directory
Temorarily change the current working directory.
● Data Source:
CranContrib
● Keywords:
● Alias: with_dir
●
0 images
|
with_
(Package: withr) :
Create a new "with" function
This function is a "constructor" for with_... functions. It is only needed if you want to alter some global state which is not covered by the existing with_... functions, see withr-package for an overview.
● Data Source:
CranContrib
● Keywords: internal
● Alias: with_
●
0 images
|
Temporarily change library paths.
● Data Source:
CranContrib
● Keywords:
● Alias: with_libpaths
●
0 images
|