Re:Ask HN: Learn Python, R? Or something else?
by mindcrime on Friday February 24, 2017 @03:57PM
(#13727824)
For large datasets all the momentum seems to be moving towards Spark (sparklyr is RStudio's SparkR integration.
Worst case, you can always use MPI with R and run on a Beowulf cluster. Of course that might not help if you want to use a function from a library, and the library itself expects everything to be in memory on one node, but at least it gives you another option for parallelization.
Re:Ask HN: Learn Python, R? Or something else?
by kprybol on Friday February 24, 2017 @08:35PM
(#13729474)
Absolutely, though as you mention, removing the ability to use packages and the necessity of writing statistical code that properly accounts for data being spread out across multiple nodes would likely be out of the reach of your everyday/typical R user. An open sourced alternative to Revolution R/Microsoft R Server's out of core processing backend + distributed analtyics packages would be a huge addition to the R language.
Re:Ask HN: Learn Python, R? Or something else?
by kprybol on Friday February 24, 2017 @08:18PM
(#13729436)
Realized I never posted the link about R 3.4 that I referenced. https://cdn.ampproject.org/c/s/www.r-bloggers.com/performanc...
Re:Ask HN: Learn Python, R? Or something else?
by wakkaflokka on Saturday February 25, 2017 @07:06AM
(#13731238)
How have I not heard of Dask? Would have saved me a lot of pain when trying to deal with oom datasets in my Luigi pipeline.
Also check out this article on updates to R 3.4. R tends to be fast enough for most work (I use it regularly on one-off analysis or things that won't ever make it farther than ad-hoc reporting/findings but can't imagine using it in production systems). The listed changes should go a long way towards making R just fast(er) enough for dealing with larger datasets (doesn't help with datasets larger than memory though). For large datasets all the momentum seems to be moving towards Spark (sparklyr is RStudio's SparkR integration. Very much a beta but getting better by the day). On the Python front Dask is awesome for out of memory computation that has no equivalent in R.