with_dir | R Documentation |
Temporarily change the current working directory.
with_dir(new, code)
local_dir(new = list(), .local_envir = parent.frame())
new |
|
code |
|
.local_envir |
|
[any]
The results of the evaluation of the code
argument.
withr
for examples
setwd()
getwd()
with_dir(tempdir(), getwd())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.