News for hackers. Stuff that matters.
Re:Ask HN: Learn Python, R? Or something else? by phillc73 on Friday February 24, 2017 @03:07PM (#13727341)
I guess I never found the <- syntax odd, because that's all I know. Not using = for assignment kind of makes sense to me, as equals has mathematical connotations.

I always thought there were plenty of options for parallel and high(er) performance computing with R.[1]

Data sets which don't entirely fit in memory can be stored pretty much anywhere and queried. Simplest would be an SQLite database. Formats like Feather[2] and fst[3] are also really useful. There are multiple R interfaces for Redis.[4]

R has a library to interact with the Tensorflow API[5] and many other machine learning services.

"Multiple legacy object semantics" doesn't really mean a lot to me. Knowing nothing else, that's just the way R is, plus I don't think there are that many really strange ways of doing things. Mostly there's a discernable pattern across functions.

Sounding like a fanboy sure, but as I said I just don't know anything else and while Julia sounds nice (speed, way of the future etc) it doesn't have the breadth of library support, stability or community that R does yet and I don't see a compelling reason for me personally to spend time learning Python.

Not saying R is best to the exclusion of all else, but for data analysis, generalised scripting and some web based reports/reactive apps, I can't find a compelling reason to switch, and I guess don't really understand the criticism of the language.

[1] https://cran.r-project.org/web/views/HighPerformanceComputin...

[2] https://github.com/wesm/feather

[3] https://github.com/fstpackage/fst

[4] https://github.com/antirez/redis-doc/pull/798/files

[5] https://github.com/rstudio/tensorflow/blob/master/README.md

Re:Ask HN: Learn Python, R? Or something else? by haihaibye on Friday February 24, 2017 @06:14PM (#13728828)
>> that's all I know >> I can't find a compelling reason to switch

See The Blub paradox: http://www.paulgraham.com/avg.html

You should learn a few languages even if you don't need them, just for the mind expansion and learning what is necessary and what is your culture's conventions. It's like travelling to a different country, beware the patriot who has never left his home country!

Re:Ask HN: Learn Python, R? Or something else? by RockyMcNuts on Friday February 24, 2017 @09:41PM (#13729684)
If you like it and it does what you need, that's great! If/when you learn python, you'll get it. Python is expressive, readable, structured in a way R isn't...Shiny is all right but no one in their right mind would build a large general purpose web app in R.