Learn R Programming

LOLA (version 1.2.2)

replaceFileExtension: This will change the string in filename to have a new extension

Description

This will change the string in filename to have a new extension

Usage

replaceFileExtension(filename, extension)

Arguments

filename
string to convert
extension
new extension

Value

Filename with original extension deleted, replaced by provided extension