Extract the file extensions from a filepath
ext.RdGiven a path, extract the file extension
Arguments
- path
(character)path- strip
(logical)Whether to strip the extension from the path to return the bare file name- new_ext
chrNew extension for the filename
See also
Other file IO:
col_types(),
dep_read(),
dep_write(),
dir_fn(),
dirs,
file_fn(),
is_filepath(),
last_updated(),
list.files2(),
load_obj(),
make_names(),
mkpath(),
move_files_to_folder(),
needs_update(),
object_fn(),
object_write(),
package_size(),
write_dir_fn(),
write_lines()