The check.names argument should be able to control whether or not to check and modify the column names of input XLSX file, in the same way as the read.table function of the R system.
Actual Behavior
Regardless the value given to check.names, the column names are ALWAYS checked and modified to satisfy the rules of syntactically valid variable name.
Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
Prepare a XLSX file with a data table whose column names contain space characters.
Use read.xlsx to read in the XLSX file with the check.names set to FALSE.
The space characters in the column names of the generated table are replaced by the dot characters.
sessionInfo()
Version of openxlsx: 4.1.0
Version of R:
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS 10.14
Expected Behavior
The check.names argument should be able to control whether or not to check and modify the column names of input XLSX file, in the same way as the read.table function of the R system.
Actual Behavior
Regardless the value given to
check.names
, the column names are ALWAYS checked and modified to satisfy the rules of syntactically valid variable name.Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
Prepare a XLSX file with a data table whose column names contain space characters.
Use read.xlsx to read in the XLSX file with the
check.names
set toFALSE
.The space characters in the column names of the generated table are replaced by the dot characters.
sessionInfo()
Version of R: