expoSheet: Export list of data sets into different 'Excel' sheets

View source: R/expoSheet.R

expoSheetR Documentation

Export list of data sets into different 'Excel' sheets

Description

Export list of data sets into different 'Excel' sheets

Usage

expoSheet(
  data_list,
  data_name,
  filename = NULL,
  dir = tempdir(),
  overwrite = TRUE
)

Arguments

data_list

List of datasets.

data_name

Character of data names.

filename

A character string naming an xlsx file.

dir

A character string naming output directory.

overwrite

If TRUE, overwrite any existing file.

Value

An Excel file.

Examples

library(openxlsx)
expoSheet(
  data_list = list(mtcars, ToothGrowth),
  data_name = c("mtcars", "tooth"),
  filename = "test.xlsx", dir = tempfile()
)

genekitr documentation built on Sept. 11, 2024, 9:10 p.m.