transform help file
I think the bug is not only that it passes check.names and other data frame arguments but also that it changes names. Either it should allow check.names but default it to FALSE or else not pass it and not change the names.
On Mon, Mar 14, 2022 at 1:30 PM Bill Dunlap <williamwdunlap at gmail.com> wrote:
See Bugzilla issue #17890 for some discussion on this. https://bugs.r-project.org/show_bug.cgi?id=17890 -Bill On Mon, Mar 14, 2022 at 10:17 AM Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
It seems transform can modify column names and accepts data.frame arguments such as chek.names= but neither of these is mentioned in the help file. For example this is how the ... argument is described. ...: Further arguments of the form ?tag=value? The Details section does not provide any information from which one could deduce this either. transform(BOD[1, ], "x y" = 1) ## Time demand x.y ## 1 1 8.3 1 transform(BOD[1, ], "x y" = 1, check.names = FALSE) ## Time demand x y ## 1 1 8.3 1 -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com