I write a dataframe in R to an excel file using the following command: write.xlsx(dataframe, pathName, row.names = FALSE, append = FALSE)
.
Now I want to print the first row (headers in the dataframe) in bold. Does anyone know how to do this with the write.xlsx
function from the xlsx
package?