Learn R Programming

filenamer (version 0.3)

set_fpath: Set path in a file name

Description

This function sets the path in a file name.

Usage

set_fpath(x, path)

Value

modified object of the original type

Arguments

x

a character or a filename

path

new path to file

Examples

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

Run the code above in your browser using DataLab