John Mount points out that there are many ways to skin a cat in R:
Python has a fairly famous design principle (from “PEP 20 — The Zen of Python”):
There should be one– and preferably only one –obvious way to do it.
Frankly in
R
(especially once you add many packages) there is usually more than one way. As an example we will talk about the commonR
functions:str()
,head()
, and thetibble package
‘sglimpse()
.
This is a small example of a large phenomenon.