Learn R Programming

xpose (version 0.4.8)

update_extension: Update file extension

Description

Change the extension of a file.

Usage

update_extension(x, ext)

Arguments

x

A string or vector of strings containing the file name to be modified.

ext

A string or vector of strings containing the name of the new extension(s).

Value

A string or vector of strings of file name(s).