Description Usage Arguments See Also
View source: R/file_info_operations.R
Sets the root directory for a set of iso_files (property file_root
in the file information), which is particularly useful for re-reading files (reread_iso_files) after they have changed location. Can optionally remove the previous root (remove_embedded_root
) if it is still embedded in the isofiles' file_path
instead of file_root
. Will warn about any paths that cannot be simplified by removing the embedded root.
1 2 3 4 5 6 | iso_set_file_root(
iso_files,
root = ".",
remove_embedded_root = NULL,
quiet = default(quiet)
)
|
iso_files |
collection of iso_file objects |
root |
new root directory for the isofiles. Can be relative to the current working directory (e.g. |
remove_embedded_root |
set this parameter to a root path that is embedded in the isofiles' |
quiet |
whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages. Set parameter to overwrite global defaults for this function or set global defaults with calls to iso_turn_info_messages_on and iso_turn_info_messages_off |
Other file_info operations:
iso_add_file_info.iso_file_list()
,
iso_filter_files()
,
iso_mutate_file_info()
,
iso_parse_file_info()
,
iso_rename_file_info()
,
iso_select_file_info()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.