Abby Spurdle
2019-Nov-12 20:21 UTC
[Rd] class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
<polite mode>> x %inherits% "data.frame"IMHO, I think that user-defined binary operators are being over-used within the R community. I don't think that they're "cute" or stylish. I think their use should be limited to cases, where they significantly increase the readability of the code. However, readability, is a (partly) subjective topic... </pilote mode>
Pages, Herve
2019-Nov-12 21:18 UTC
[Rd] class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
On 11/12/19 12:21, Abby Spurdle wrote:> <polite mode> > >> x %inherits% "data.frame" > > IMHO, I think that user-defined binary operators are being over-used > within the R community. > > I don't think that they're "cute" or stylish. > I think their use should be limited to cases, where they significantly > increase the readability of the code. > > However, readability, is a (partly) subjective topic... > > </pilote mode> >You can have your own rant about "user-defined binary operators being over-used within the R community" without suggesting that my rant was rude. I don't think it was and, in any case, I was not going after a individual in particular. Contrary to popular belief and to what I tell my daughter, rolling your eyes in public is not rude at all and is actually a lot of fun. You should try it ;-) -- Herv? Pag?s Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: hpages at fredhutch.org Phone: (206) 667-5791 Fax: (206) 667-1319
Abby Spurdle
2019-Nov-12 22:03 UTC
[Rd] class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
> You can have your own rant about "user-defined binary operators being > over-used within the R community" without suggesting that my rant was > rude.I wasn't suggesting that you were rude. I was questioning a trend.
Apparently Analagous Threads
- class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
- class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
- class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
- Making R CMD nicer
- 2 D density plot interpretation and manipulating the data