Run Code 'With' Temporarily Modified Global State


[Up] [Top]

Documentation for package ‘withr’ version 2.0.0

Help Pages

withr-package Execute code in temporarily altered environment
defer Defer Evaluation of an Expression
defer_parent Defer Evaluation of an Expression
local_collate Collation Order
local_dir Working directory
local_envvar Environment variables
local_libpaths Library paths
local_locale Locale settings
local_message_sink Output redirection
local_options Options
local_output_sink Output redirection
local_par Graphics parameters
local_path PATH environment variable
local_temp_libpaths Library paths
withr Execute code in temporarily altered environment
with_collate Collation Order
with_dir Working directory
with_envvar Environment variables
with_libpaths Library paths
with_locale Locale settings
with_makevars Makevars variables
with_message_sink Output redirection
with_options Options
with_output_sink Output redirection
with_par Graphics parameters
with_path PATH environment variable
with_preserve_seed Random seed
with_seed Random seed
with_sink Output redirection
with_temp_libpaths Library paths