write_files: Write Files

Description Usage Arguments Value See Also Examples

View source: R/write.R

Description

Write Files

Usage

1
2
write_files(.objects, .dir = ".", .fun = saveRDS,
  .ask = getOption("filer.ask", TRUE), .silent = FALSE, ...)

Arguments

.objects

A uniquely named list of objects to save as files.

.dir

A string of the path to the directory.

.fun

The function to use when saving each object.

.ask

A flag indicating whether to ask before

.silent

A flag indicating whether error messages should be suppressed when trying to write a file.

...

Additional arguments passed to .fun

Value

An invisible character vector of the names of the successfully saved files.

See Also

read_files and file_names

Examples

1
2

poissonconsulting/filer documentation built on Feb. 17, 2021, 3:26 a.m.