savexlsx: Write a dataframe or list to an excel file (with or without...

Description Usage Arguments See Also Examples

Description

Write a dataframe or list to an excel file (with or without password).

Usage

1
2
savexlsx(Object, path = paste0(getwd(), "/", deparse(substitute(Object)),
  ".xlsx"), SheetName = NULL, pw = F, rmHist = pw)

Arguments

Object

Input object, must be of type dataframe or list.

path

The path for the excel file. Default is current working directory.

SheetName

Optional, name of the sheet.

pw

Logical, indicates whether the file has to be password protected or not. If TRUE, the user will be prompted to give the password using askForPassword.

See Also

xlsxFix

Examples

1
2
3
4
5
6
7
8
9
# Without missing values
data(mtcars)
savexlsx(mtcars)

# With missing values
data('mtcars')
mtcars[1, ] = NA
test = xlsxFix(mtcars)
savexlsx(test)

BavoDC/RcryptAdj documentation built on May 16, 2019, 11:01 a.m.