Save output from stable

stable_save(
  x,
  file = attr(x, "stable_file"),
  dir = getOption("pmtables.dir"),
  write_caption = NULL
)

Arguments

x

a table formatted with stable().

file

the output file name.

dir

the directory where the file is to be saved.

write_caption

logical; if TRUE and a caption was specified, it will be written in the output file. This argument is not utilized for stable_long objects, where captions are always written if they are specified.

Value

The stable or stable_long object is returned invisibly.