save_in_data_dir {jwutil} | R Documentation |
File is named varname.RData with an optional suffix before .RData
save_in_data_dir(var_name, suffix = "", data_path = "data", package_dir = getwd(), envir = parent.frame())
var_name |
character or symbol, e.g. "myvar" or |
suffix |
character scalar |
data_path |
path to data directory, default is data in current directory. |
package_dir |
character containing the directory root of the package tree in which to save the data. Default is the current working directory. |
envir |
environment in which to look for the variable to save |
invisibly returns the data