verbose.save: Save R objects to a file

Description Usage Arguments Value

View source: R/seir.functions.R

Description

This function is a wrapper for the base R save() function that adds prefix/suffix information and compression to the R objects that are saved to file.

Usage

1
2
3
4
5
6
7
verbose.save(
  object.name,
  path.with.trailing.slash = "",
  prefix.suffix = c(prefix = "This file contains an R object called ", suffix =
    ".SavedFromR"),
  time.stamp = gsub(":", "-", Sys.time())
)

Arguments

object.name

a character element representing the R object to be saved.

path.with.trailing.slash

set to null by default.

prefix.suffix

a named (prefix, suffix), two-element character vector representing the prefix and suffix for the file name. By default, the prefix is "This file contains an R object called " and the suffix is ".SavedFromR".

time.stamp

the format for the timestamp that appears in the file name. By default, the format is yyyy-mm-dd hh-mm-ss.

Value

none.


barnzilla/no.name documentation built on Oct. 14, 2020, 3:25 p.m.