View source: R/LG_extract_scripts.R
LG_extract_scripts | R Documentation |
This function extracts the scripts from the internal
file hierarchy of the localgaussSpec
-package to a target
directory selected by the user.
LG_extract_scripts(target_dir, overwrite = FALSE)
target_dir |
The path to the directory where the scripts are to be stored. The user will be asked for permission to create the directory if it does not already exist. |
overwrite |
Logical value, default |
If the target_dir
-argument is missing, then the
function will print a message that points to this help-page.
If target_dir
is a non-existing directory, then the user
will be asked for permission to create it. If
target_dir
exists but are non-empty, then it is required
that the overwrite
-argument must be TRUE
in order
for the scripts to be extracted.
The result of this function is that copies of the scripts
occur in target_dir
, and the user can then run them (or
modify them) as desired. Read the ReadMe.txt
-file in
the extracted folder for further details about the structure of
the extracted scripts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.