Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write_xlsx directory #65

Open
ggrothendieck opened this issue Dec 25, 2022 · 0 comments
Open

write_xlsx directory #65

ggrothendieck opened this issue Dec 25, 2022 · 0 comments

Comments

@ggrothendieck
Copy link

Suggest that write_xlsx allow a directory as the second argument if the first argument is a named list of data frames in which case they are all written to that directory with an extension of xlsx. That would allow

L <- list(BOD = BOD, BOD10 = 10 * BOD)
write_xlsx(L, ".")

instead of

write_xlsx(L, sprintf("./%s.xlsx", names(L)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant