3 ms·
While obviously the answer is libraries and data types (DataFrame is a very powerful semantic, replicated later in Python, Julia, Scala/Spark), R definitely IS
by mziel 10y ago
While obviously the answer is libraries and data types (DataFrame is a very powerful semantic, replicated later in Python, Julia, Scala/Spark), R definitely IS a functional language:
- closures, lambdas
- high-order functions
- a lot R processing is map/fold-like (even though it's lapply instead of map)
- michaelsbradley 10y agoThere's also the `Map`, `Filter`, and `Reduce` functions provided by the base library, i.e. in addition to the `*apply` family of functions.