Skip to contents

Concatenate a working directory with a file name and optional prefix.

Usage

paste_wd(file, prefix = NULL, dir = getwd())

Arguments

file

A character. File name (with or without extension).

prefix

A character (optional). If provided, result becomes "prefix_file".

dir

A character. Working directory path (default: current working directory).

Value

A character string representing the full file path.