Learn R Programming

sits (version 1.1.0)

.create_filename: Create file name

Description

Create a file name from a character vectors.

Usage

.create_filename(
  ...,
  filenames = NULL,
  sep = "_",
  ext = NULL,
  output_dir = NULL,
  create_dir = FALSE
)

Value

A character with the file name.

Arguments

...

A vector of characters that will be concatenated.

filenames

Named parameter to create file name. Note: There is a difference between dots and filenames parameters. The filenames parameter just concatenated the provided names, while dots recycled values for each provided vector. A vector of characters that will be concatenated.

sep

A character with a file name separator.

ext

A character with the extension of file.

output_dir

A character with the output directory to be concatenated.

create_dir

A boolean indicating if directory should be created.