quickSave: Save File in a Directory storing saves, prefixing it with...

View source: R/quickSave.R

quickSaveR Documentation

Save File in a Directory storing saves, prefixing it with current date

Description

Saves a file with current date in its name in a sub directory located in the same directory as the original file. Optionally, a note is added after the file name.

Usage

quickSave(
  saveDir,
  filePath = NULL,
  saveNote = NULL,
  overwrite = FALSE,
  verbose = FALSE
)

Arguments

saveDir

Choose the directory used to store saves. Suggested : 'old'

filePath

Optional, if you want to save another file than the current one : full path of the file you want to save.

saveNote

An optional custom note to append to the file name for the save, allowing to keep track of why this save has been done.

overwrite

Logical. Should an existing save with the same name be overwritten? Default is 'FALSE'.

verbose

logical. If turned to 'TRUE', the save path is displayed

Value

the output value of the function used to copy file


R.AlphA.Home documentation built on April 3, 2025, 5:53 p.m.