saveit: Rename objects while saving.

View source: R/utils.R View source: R/saveit.R

saveitR Documentation

Rename objects while saving.

Description

Allows you to rename objects as you save them. See https://stackoverflow.com/a/21248218/654296.

Allows you to rename objects as you save them. See https://stackoverflow.com/a/21248218/654296.

Usage

saveit(..., file = stop("'file' must be specified"))

saveit(..., file = stop("'file' must be specified"))

Arguments

...

Objects to save.

file

Filename/path where data will be saved.

Examples

## Not run: 
foo <- 1
saveit(bar=foo, file="foobar.Rdata")

## End(Not run)
  
## Not run: 
foo <- 1
saveit(bar=foo, file="foobar.Rdata")

## End(Not run)
  

Tmisc documentation built on Aug. 23, 2023, 1:07 a.m.