On 05/11/2021 8:00 a.m., Dario Strbenac via R-devel wrote:
Good day,

as.data.frame is documented on ?table and on ?as.data.frame (for list and 
matrix inputs). For inputs of list type and matrix type, there is an argument 
optional, which allows preservation of column names. If the input is a table, 
there is no such option. Could the API be made consistent for base data types?

as.data.frame.character is also inconsistent with the generic.

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to