News for hackers. Stuff that matters.
Re:Racket v6.8 by peatmoss on Wednesday January 25, 2017 @08:46PM (#13488047)
High-five for learning R better via exposure to Racket. People ask me how to level up their R programming, and I tell them, "Read HtDP."

I haven't read RoR--placing an order now.

Re:Racket v6.8 by throwaway7645 on Wednesday January 25, 2017 @10:30PM (#13488473)
How is Racket anything like R?
Re:Racket v6.8 by baldfat on Thursday January 26, 2017 @07:53AM (#13490900)
"R is based on S and Scheme"

From 2009 mail list of R on the similarities and differences between R and Lisp

https://stat.ethz.ch/pipermail/r-help/2008-December/181982.h...

R is much more functional then most people give it credit.

From Saint Hadley

> R, at its heart, is a functional programming (FP) language. This means that it provides many tools for the creation and manipulation of functions. In particular, R has what’s known as first class functions. You can do anything with functions that you can do with vectors: you can assign them to variables, store them in lists, pass them as arguments to other functions, create them inside functions, and even return them as the result of a function. http://adv-r.had.co.nz/Functional-programming.html

It isn't a pure functional language which is really only available in Academics and Haskell has nomads to get things out which is arguably not pure.

Learning Racket helped me to use the Scheme parts found in R. It really is a little mind blowing. R was mostly used by people with little computer skills and was used with a imperative mindset but when you use it more functional R really shines.