[Rd] transform help file

Gabor Grothendieck ggrothend|eck @end|ng |rom gm@||@com
Tue Mar 15 13:01:49 CET 2022


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 using 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 using 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 using 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



More information about the R-devel mailing list