myOpenXWriteWkbk: Write list to excel workbook

View source: R/myOpenXWriteWkbk.R

myOpenXWriteWkbkR Documentation

Write list to excel workbook

Description

Write a named list to a workbook using openxlsx. Sheet names are list names.

Usage

myOpenXWriteWkbk(data_ls, file_v, append_v = T, overwrite_v = T)

Arguments

data_ls

list of tables to write

file_v

path to output file.

append_v

logical ind

overwrite_v

logical. Only matters if file_v already exists. If true, will append to existing workbook. If false, will overwrite existing workbook.

Details

If file_v doesn't exist, then append_v and overwrite_v don't matter If file_v does exist, there are two options: 1. Overwrite the existing file completely (requires append_v = F and overwrite_v = T) 1. Only append new sheets (requires append_v = T and overwrite_v = F) 1. Append new sheets and also overwrite existing sheets (requires append_v = T and overwrite_v = T) (Think this is the same as the firt one...)

Value

writes to file


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.