Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
52 views

I want to apply a format I created using the create_font method to one or two ranges of cells, but I can't figure out how to use it. I've tried many ways, but unfortunately, without success. My goal ...
sylvain burgaud's user avatar
0 votes
0 answers
27 views

I have a dataset that I put through the following workflow: Raw data is .xlsx Clean data using R Write to a specific sheet in an existing Excel file using openxlsx2 (My colleagues use other tabs in ...
Catherine's user avatar
2 votes
1 answer
54 views

I'm producing Excel workbooks with openxlsx2. Typically, I'll write a data table to my workbook and include a totals row: packages <- c("openxlsx2") lapply(packages, library, character....
FB001's user avatar
  • 100
1 vote
1 answer
71 views

I have been trying to center an image on merged cells using the openxlsx2 package in R. The image's default is the top-left corner of the merged cell. In the wb$add_image, if I specify the merged ...
bhaviks's user avatar
  • 11
2 votes
1 answer
538 views

I'm writing a script to render an Excel output using openxlsx, and I'm having a hard time wrapping text within a cell. I have a "Report Notes" sheet in my output with the usual disclaimers ...
Mary Rachel's user avatar
0 votes
1 answer
134 views

Hi and thanks for reading me Im currently working in an excel file with a conditional format using R and the package openxlsx2, but when I add the style I get an error in the document output. My code ...
Jorge Hernández's user avatar
0 votes
2 answers
322 views

I have a data frame that I want to save into XLSX format using openxlsx2. This data frame contains entries with specific columns with identical values. I want to highlight those entries (the whole row)...
DaniCee's user avatar
  • 3,247
0 votes
1 answer
458 views

Here's my reprex library(openxlsx2) wb <- openxlsx2::wb_workbook() openxlsx2::wb_add_worksheet(wb, "All Courses") allLines = c("This is the first test", "...
Thomas Philips's user avatar
2 votes
1 answer
511 views

I find openxlsx2 a very interesting package, it's very useful how you can import a workbook keeping styles. I just wondering if it is a bug or I'm doing something wrong for the very simple task of ...
filemonPi's user avatar
3 votes
1 answer
266 views

I am wondering if there is (or will be) a way to change the layout of a pivot table. For example, I would like my pivot table to print without Subtotals and in Tabular form like in the picture: Excel ...
emi's user avatar
  • 33
0 votes
1 answer
139 views

I am trying to use group_walk() with openxlsx2 workbook objects to produce multiple xlsx files with greater control of the worksheet properties. I can use the code below to create simple xlsx files... ...
Bregma's user avatar
  • 1
0 votes
1 answer
324 views

I´m using openxlsx2 so that I can use the function wb_add_pivot_table() but the problem is that the order in which the rows appear, inside the pivot table, isn't in the order I want it to be displayed....
Amarullazo's user avatar
0 votes
1 answer
359 views

I'm using OpenXLSX2 in R to process some data and then output a formatted workbook. I have a pivot table that I would like to connect slicers to - I'm wondering if this is possible using OpenXLSX2. ...
Laura's user avatar
  • 329