Last active
November 10, 2016 23:28
-
-
Save wmcraver/a4ffb718f3499cda2884857bf6ac3eb4 to your computer and use it in GitHub Desktop.
Write multiple data frames to multiple sheets in one spreadsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(WriteXLS) | |
# renderedExperience, marketingChannel, allMetrics are data frames | |
sheetList <-list("Rendered Experience" = renderedExperience, "Marketing Channel" = marketingChannel, "Key Metrics" = allMetrics) | |
WriteXLS( | |
x = sheetList, | |
ExcelFileName = "RenderedExperience-MarketingChannel.xlsx", | |
SheetNames = names(sheetList), | |
FreezeRow = 1, | |
BoldHeaderRow = T, | |
AdjWidth = T | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment