Extract the file extensions from a filepath
ext.Rd
Given 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
chr
New 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()