3 ms·
I am using R for a fairly large project (because I am working with other people who are using R) and I really agree with this. R is easy to implement small thi
by blueblob 13y ago
I am using R for a fairly large project (because I am working with other people who are using R) and I really agree with this.
R is easy to implement small things, but gluing them all together is awful. Additionally, the debugging features are not very good, especially if you created a package. Everything using Rcpp basically requires you to make a package and believe it or not the C/C++ is easier to debug than the R. I do believe that going the other way (Rinside) or using R in C++ is a much better solution in terms of efficiency, and getting the actual results you expect.
I am, however, impressed with the amount and, in general, quality of R packages.
- scottlocklin 13y agoI used to think R's debugging was awful. Then someone told me about options(error="recover"), and I get a nice Lisp/Matlab like stack when something bad happens. Doesn't help with the C/C++ FFI piece, but that's not usually what is needed. There's a lot of little doodads like that in R. The real problem is there is no good book teaching people who need to write complex things how to do it properly.
- blueblob 13y agoYou get a stack trace but only if your code is not in a package.