I have a suggested implementation , let's see if it turns into an official plyr . In principle, the new parameter .idname , which allows you to specify the name of the .id column, with the option to refuse it altogether, passing NULL :
> ldply(setNames(1:3, 1:3), function(i) data.frame(j=1/i), .idname='i') ij 1 1 1.0000000 2 2 0.5000000 3 3 0.3333333
. Install the modified version using
library(devtools) install_github('plyr', 'krlmlr', ref='140-142-id')
EDIT : this is now available in plyr 1.8.1 on CRAN:
> ldply(setNames(nm=1:3), function(i) data.frame(j=1/i), .id='i')
source share