View source: R/S03_Utilities.R
copy_from_source | R Documentation |
Function to copy files from a subfolder in a source folder to a new subfolder in a user-defined source folder in the current directory.
copy_from_source(
source_path = "",
destination_path = "",
source_subfolder = "",
environment_var = "FOLDER_SOURCE"
)
source_path |
A character string, the absolute path to the source folder. |
destination_path |
A character string, the path to the folder to which files should be copied - if blank, uses the current working directory. |
source_subfolder |
An optional character string, the full or partial name of a subfolder in source location with the files to copy. |
environment_var |
An optional character string, the environmental variable with the path to the source folder. |
As a side effect copies files to a to the specified destination folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.