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_excel(): write a data frame to xlsx #231

Closed
slfan2013 opened this issue Jan 18, 2017 · 12 comments
Closed

write_excel(): write a data frame to xlsx #231

slfan2013 opened this issue Jan 18, 2017 · 12 comments

Comments

@slfan2013
Copy link

slfan2013 commented Jan 18, 2017

Hi guys, I wonder if there is a readxl::write_excel coming up in the future?

I love the readxl::read_excel very much because it is really fast and is independent of Java.

For some reasons, I cannot use xlsx::write.xlsx2, which is also fast but requires Java. But xlsx::write.xlsx is really slow. It would be super nice if there will be a write_excel in readxl. And any suggestion of fast writing excel is absolutely welcomed. Thanks!

@jennybc
Copy link
Member

jennybc commented Jan 18, 2017

@hadley and I were just discussing this. Perhaps readxl will gain the ability to write xlsx, but with a very specific scope. Data yes, formatting no, for example. But first the existing bugs and feature requests have to be sorted out.

@slfan2013
Copy link
Author

slfan2013 commented Jan 18, 2017

That's great to hear!

Do you happen to have an approximate estimation of when this cool function launches?

@jennybc jennybc added the feature a feature request or enhancement label Jan 19, 2017
@stla
Copy link

stla commented Jan 26, 2017

Hello @slfan2013. You can use WriteXLS (requiring perl) if you are in a hurry.

@slfan2013
Copy link
Author

Hi @stla , thanks!

@jennybc
Copy link
Member

jennybc commented Jan 26, 2017

In the here and now, there's also openxlsx for writing. It was used to create the example xlsx and xls that ship with readxl. See the bottom of the readxl README: https://github.com/hadley/readxl#readme.

@slfan2013
Copy link
Author

@jennybc Thanks! I am now using openxlsx, which is faster than xlsx, while waiting for write_excel.

@jennybc jennybc changed the title is there a write_excel? write_excel(): write a data frame to xlsx Mar 29, 2017
@jennybc jennybc added future and removed feature a feature request or enhancement labels Mar 29, 2017
@jeroen
Copy link
Contributor

jeroen commented Aug 30, 2017

A new package writexl is on CRAN now. Version 0.1 is very simple but it includes a powerful library so we can easily add more complex formatting and objects.

@jennybc
Copy link
Member

jennybc commented Aug 30, 2017

Terribly exciting, @jeroen! 🎉 Yes I will gladly use writexl to provide this functionality here.

@slfan2013
Copy link
Author

Thanks, @jeroen
I love using your tools.

@slfan2013
Copy link
Author

Hi @jeroen , if it's possible to have a feature of saving data at different sheets in the same excel?

Sorry, I don't know where I should ask this question so I post it here.

@cderv
Copy link

cderv commented Sep 14, 2017

Hi @slfan2013, writexl repo is at this url: https://github.com/ropensci/writexl

You could open issue about feature request there.

@ZedLeb
Copy link

ZedLeb commented Sep 14, 2017

Great timing @jeroen I just wanted to make a transition between R, Excel and Power BI that bit smoother and this works great! Many thanks.

@lock lock bot locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants