-
Notifications
You must be signed in to change notification settings - Fork 17
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
Is it possible to add a row_names parameter? #44
Comments
Can't you just add add the row names to a regular column in your data frame? mtcars$name = row.names(mtcars)
write_xlsx(mtcars, "mtcars.xlsx") |
This wouldn't work for creating an xlsx with multiple named sheets ... |
Hi, Thanks :-) |
I do not quite understand the importance :), but you could, of course write your own function. Something like this when x is a data frame and not a list (for lists of data frames, alter this function):
I have not tested it (I am writing on my mobile phone), but I guess you get the idea. |
it is important cause I am working with gene sequencing data and rownames are gene names! :-) |
I'd like to be able to read in a data frame's row names. I see col_names, but it would also be helpful to have row_names.
The text was updated successfully, but these errors were encountered: