I love R, but I have two problems with it that I would like suggestions to deal with. 1. Debugging seems way more primitive than in other languages; I get cryptic messages and really struggle to pinpoint what is happening. Debugging in (free) shiny is even harder, the page says connection closed and I have to guess what has happened. 2) Code structure. R is simply fantastic in REPL and/or RStudio mode for digging aro…
Ad 2. There are reference classes which also provide limited type checking for fields. You can also encapsule your code in environments which is more R-style but doesn't work well with roxygen.