[R] In praise of "options(warnPartialMatchDollar = TRUE)"

Bert Gunter bgunter.4567 at gmail.com
Sun Nov 27 23:03:48 CET 2016


...
>
> After either method, you can `cbind` to that dfrm object to your heart's content, because the cbind.data.frame method is dispatched.
>
> --
> David.
>

... But of course, this is unnecessary anyway, as:

"The cbind data frame method is just a wrapper for data.frame(...,
check.names = FALSE). This means that it will split matrix columns in
data frame arguments, and convert character columns to factors unless
stringsAsFactors = FALSE is specified."


Cheers,
Bert



More information about the R-help mailing list