openxlsx Questions

1

I have a xlsm file with few data already in it and need to write some data and create a new xlsm file during automation. With below code the file gets created , but it becomes corrupt and unable to...
Tideway asked 18/10, 2018 at 23:9

0

I am using excel templates to collect data from various people. To minmize the chances of people changing the structure of the templates I wanted to protect the sheets, but still allow them to fill...
Holbrook asked 16/5, 2019 at 12:0

4

Solved

I have been reading up on how to read and combine multiple xlsx files into one R data frame and have come across some very good suggestions like, How to read multiple xlsx file in R using loop with...
Anthropomorphism asked 5/7, 2016 at 7:33

4

Solved

How do I autofit the column width using openxlsx? One of my columns has a date variable (eg. 21-08-2017) and if copied using ctrl+c from Excel, and pasted normally elsewhere, it shows like #######...
Stopcock asked 24/8, 2017 at 11:9

2

Solved

I am trying to write a R data frame to Excel and want to add additional cells/columns that have Excel formulas and/or data validation values (e.g. using the Data/Validation menu in Excel to provide...
Fenn asked 27/4, 2015 at 14:17

0

Is it possible to hide all rows in a worksheet after a specified row? library("openxlsx") # Create a workbook. wb <- createWorkbook() # Add a worksheet. addWorksheet(wb, sheetName = "test", g...
Tetany asked 13/9, 2018 at 4:57

2

Solved

I'm trying to insert a plot into an XLSX file using the openxlsx package in R. When I use the R GUI, I am able to accomplish this. However, when using a batch file, the plot is created but it is ...
Mizzle asked 4/11, 2015 at 23:48

2

Solved

How can one create an excel file using openxlsx where the number formatting includes both comma thousand separators and 2 decimal places? I have tried the code below, but no luck on the formatting....
Delldella asked 12/4, 2018 at 15:27

2

R3.2.3/openxlsx 3.0.0 I have several dataframes that I'm writing to an Excel-workbook with openxlsx. One of the dataframes contains values such as 0.07. With createStyle(numFmt='PERCENTAGE') ...
Told asked 2/1, 2018 at 14:47

1

I just ran into the same problem that this Nabble user ran into when trying to apply a style to an Excel workbook using a non-rectangular set of rows and columns. wb <- createWorkbook() addWor...
Metaphrase asked 1/8, 2017 at 3:38

1

I have users who cannot or do not want to connect with relational databases, but instead prefer to work with data exported to excel files. The recordsets exported from these database data can becom...
Abdu asked 15/3, 2016 at 12:55

1

Solved

I started using the R package openxlsx recently because it does not require the rJava package or Java at all. I'm trying to write dates to a column but row formatting isn't being applied to the fin...
Westnorthwest asked 24/3, 2015 at 22:45

© 2022 - 2024 — McMap. All rights reserved.