TensorFlow for R
github.com
github.com
The main downside to this is that we will now start seeing all sorts of experimental models from R users who know a lot more about statistics than about software engineering and therefore often write code that is not very elegant nor easy to understand.[1]
[1] Don't take it from me. Quoting Hadley Wickham: "Much of the R code you’ll see in the wild is written in haste to solve a pressing problem. As a result, code is not very elegant, fast, or easy to understand. Most users do not revise their code to address these shortcomings. Compared to other programming languages, the R community tends to be more focussed on results instead of processes. Knowledge of software engineering best practices is patchy." http://adv-r.had.co.nz/Introduction.html
Remember that the core value here is the model and insights being developed, rather than the implementation.
No one often mentions that TensorFlow lacks native windows support.
> code that is not very elegant nor easy to understand
That was my impression when I started learning R while learning statistics - again, but this time with an actual interest in the subject and not just for the grade :)On the other hand, the whole R-learning experience, which was aided by having to do practical "statistical" things in the language and working with actual data, gave me a new perspective on programming, a much more data-oriented perspective if I may call it that.
Before (learning R and statistics) I was interested in the code and what it could do, afterwards (but only for those kinds of applications) I was interested in the data and what I could do with it, the "how" was secondary. From that perspective I understood a lot of the (IMHO) "hacky" nature of R and some of its libraries.
You have been able to use dplyr on spark dataframes for a while now (at least a year).
Could you elaborate on this? I'm just starting out in R.
How? I didn't get it to work till sparklyr????
https://blog.rstudio.org/2016/09/27/sparklyr-r-interface-for...
> we don't recommend production use yet
I was a bit disappointed by that package, though it is great to see it in the ecco-system of R.
The RStudio sparklyr is 100% native and Production ready. You should check it out I was happily surprised.
There are Operations in TensorFlow that don't invoke the C++ layer directly. Instead, they are composed of other Operations in Python, meaning that binding directly to the C++ layer would require finding and rewriting that code.
It still gets sent down to the C++ layer at the end of it, though the stack traces might end up looking pretty ridiculous.