set_fpath {filenamer}R Documentation

Set path in a file name

Description

This function sets the path in a file name.

Usage

set_fpath(x, path)

Arguments

x

a character or a filename

path

new path to file

Value

modified object of the original type

Examples

x <- "path/data_norm.txt"
print(set_fpath(x, "new_path"))


[Package filenamer version 0.2.4 Index]