From murdoch@dunc@n @end|ng |rom gm@||@com  Fri Nov  5 13:38:06 2021
From: murdoch@dunc@n @end|ng |rom gm@||@com (Duncan Murdoch)
Date: Fri, 5 Nov 2021 08:38:06 -0400
Subject: [Rd] Data Frame Conversion and Table Input
In-Reply-To: <SYBPR01MB4761958F315F2D7ADA8FCDE7CD899@SYBPR01MB4761.ausprd01.prod.outlook.com>
References: <SYBPR01MB4761958F315F2D7ADA8FCDE7CD899@SYBPR01MB4761.ausprd01.prod.outlook.com>
Message-ID: <e404ac41-c190-ccc0-a055-cc84fcecf6ec@gmail.com>

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



[Rd] Data Frame Conversion and Table Input
Duncan Murdoch