clean_worksheet_name {openxlsx2} | R Documentation |
Clean worksheet name
Description
Cleans a worksheet name by removing legal characters.
Usage
clean_worksheet_name(x, replacement = " ")
Arguments
x |
A vector, coerced to |
replacement |
A single value to replace illegal characters by. |
Details
Illegal characters are considered \
, /
, ?
, *
, :
, [
, and
]
. These must be intentionally removed from worksheet names prior to
creating a new worksheet.
Value
x with bad characters removed
[Package openxlsx2 version 1.8 Index]