Re:Dimple: An object-oriented API for business analytics pow...
by jonahx on Monday March 28, 2016 @07:55AM
(#11373720)
With R, you won't be able to create interactive graphics that other people can explore on a web page, for example. If you need that, I don't think you can avoid javascript.
Re:Dimple: An object-oriented API for business analytics pow...
by hadley on Monday March 28, 2016 @09:11AM
(#11374022)
While it's true that there needs to be some js involved, the analyst doesn't have to write it. You could use an R package (like https://rstudio.github.io/leaflet/) which wraps around an javascript library, so that you can stay within R.
Re:Dimple: An object-oriented API for business analytics pow...
by chrisweekly on Monday March 28, 2016 @09:14AM
(#11374032)
Shiny does just that:
http://shiny.rstudio.com
There is nothing wrong with building abstractions though. In the end, they will need to be complex too, to be generic enough. I am not sure I like the model though, especially when looking at the advanced examples - it looked like there was a lot of imperative coding going on.
An alternative is using R for analysis work. I think that the hard part is typically getting the data and getting it into shape for plotting. Having done that I am a few lines of code from generating nice charts with ggplot2.
As an example, I have some small scripts that I run (myself or by jenkins) on a somewhat regular basis. They generate and update a bunch of static images attached to Confluence pages, using some loaders in java and analysis and render in R.
They images look extra nice with theme_xkcd :-)