glin / reactable

Interactive data tables for R
https://glin.github.io/reactable
Other
613 stars 79 forks source link

Save_reactable not working #264

Closed SaraPerrins closed 1 year ago

SaraPerrins commented 1 year ago

Hi Glin, This package is amazing. Thanks for your tremendous work on this. I am getting errors related to save_reactable.

Screen Shot 2022-08-10 at 4 54 38 PM

I've also tried the full (input, output) call but still get the error:

Screen Shot 2022-08-10 at 4 57 17 PM

Thanks for help with this.

glin commented 1 year ago

Hi, save_reactable() comes from the reactablefmtr package. If you don't have that package installed or loaded, you'll need to do that first. If you do have reactablefmtr loaded, then it may be this bug that was fixed in the development version of reactablefmtr:

https://kcuilla.github.io/reactablefmtr/news/index.html#bug-fixes-2-1-0 Bug Fixes Fixed save_reactable() function to display as save_reactable() and not save_reactable_test()

If so, then you could either use reactablefmtr::save_reactable_test() for now, or install the development version to get the fix.

SaraPerrins commented 1 year ago

Thanks glin. reactablefmtr::save_reactable_test() worked, but the image it saves is cropped. In the case of very wide tables, is there a way to save the entire table?