save_in_data_dir: Save given variable in package data directory

Description

File will be named var_name.RData with an optional suffix before .RData

Usage

1
save_in_data_dir(var_name, suffix = "")

Arguments

var_name

character or symbol, e.g. "myvar" or myvar, either of which would find myvar in the parent environment, and save it as myvar.RData in package_root/data.

suffix

character scalar

Value

invisibly returns the data


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.