You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just ran into this myself and it turns out converting to data frame first with as.data.frame() fixes the issue. This should be an easy one for the maintainers to fix.
The issue has been reported at StackOverflow. When I call
xlsx::write.xlsx()
on a tibble with 2+ rows it crashes:and returns:
1st option
If I call the same script setting default
row.names = T
it executes properly but adds an unneeded column with row number.2nd option
If I subset only one row from the tibble the script executes entirely as expected.
3rd option
If I convert data to data frame it executes without an error but modifies column names due to data.frame restrictions:
Is it a bug in
xlsx::write.xlsx()
or I can do something with it?The text was updated successfully, but these errors were encountered: