set_example_safedata_dir | R Documentation |
The documentation of safedata
includes code examples that require
a real data directory but package code must not write within the package
structure. The set_example_safedata_dir
function is used in code
examples to create a safedata directory using local resources in a
temporary directory. This example directory should only be created
once per session.
set_example_safedata_dir(on = TRUE)
on |
Turn the use of the example data directory on or off. |
The argument on=FALSE
can be used to restore any existing data
directory set by the user.
The set_example_safedata_dir function returns the path of the example directory invisibly (on = TRUE) or the path of any restored user data directory (on =FALSE).
set_safedata_dir
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.