The new RStudio Shiny Server – A bright Spark for hosted Stats Visualization #rstats

So I googled and I got a cool list of Shiny Apps on the R Studio Shiny Server ( experimental!)

I suppose the next stage is to have some pre built themes to further enable or facillitate Business Intelligence kind of visualization so people do not have to build the UI.R from scratch

Also a  gallery for the best of Shiny is here

Screenshot from 2013-09-09 11:05:00

Screenshot from 2013-09-09 11:03:41

Screenshot from 2013-09-09 11:02:06

Screenshot from 2013-09-09 11:00:58

Screenshot from 2013-09-09 10:58:21

Screenshot from 2013-09-09 10:59:32

and others too

Using Quandl for Datasets and Research #rstats

Graph of Currency Exchange Rates - INR vs USD

I love the above graph from Quandl, it is as easy as using a search engine for numerical datasets, and it gives me graphs, and download and embed options. Nice Work Quandl!

I hope the R Package Quandl at is used more often for searching for datasets. Rather than import dataset using URL as in R Studio Server, maybe we can have some import Quandl dataset features too. URL’s are so 90’ish. or maybe the Shiny Server /Quandl mashup can bring some new ideas. After all Dashboard Design is still relevant today! Something like a ggplot based dashboard them for analysis , for Shiny server based visualizations. I believe Shiny can have more pre-built theme (to be continued)

Quandl though must be applauded for the options they give including the R code

Screenshot from 2013-09-09 10:04:23

1) EASY SEARCH Screenshot from 2013-09-09 09:56:10

2) MANY DATASETS (and they respect No Indexing requests) Screenshot from 2013-09-09 09:55:59

3) Final Search Results are embeddable ,downloadable and linkable.

Screenshot from 2013-09-09 09:55:38

Fearsome Engines, Part 1

4D Pie Charts

Back in June I discovered pqR, Radford Neal’s fork of R designed to improve performance. Then in July, I heard about Tibco’s TERR, a C++ rewrite of the R engine suitable for the enterprise. At this point it dawned on me that R might end up like SQL, with many different implementations of a common language suitable for different purposes.

As it turned out, the future is nearer than I thought. As well as pqR and TERR, there are four other projects: Renjin, a Java-based rewrite that makes it easy to integrate with Java software and has some performance benefits; fastR, another Java-based engine focused on performance; Riposte, a C++ rewrite that also focuses on performance; and CXXR, a set of C++ modifications to GNU R that focus on maintainability and extensibility.

I think that having a choice of R engine is a good thing. The development model of…

View original post 910 more words

Broken Ubuntu Fix libnautilus-extension1a

I kept getting this error-

The package libnautilus-extension1a needs to be reinstalled, but I can’t find an archive for it.

This prevented my Ubuntu 12 from installing anything new

This was the final solution-

$ sudo gedit /var/lib/dpkg/status (you can use vi or nano instead of gedit)

Locate the corrupt package, and remove the whole block of information about it and save the file.

In my case the package libnautilus-extension1a was corrupted so I removed all info about it, and voila now the reinstall is working

Hat tip-





R on a JVM – Renjin is now FOAS #rstats #jvm #cloud

Renjin is now FOAS!

What is Renjin


Renjin is a JVM-based interpreter for the R language for statistical computing. This project is an initiative of BeDataDriven, a company providing consulting in analytics and decision support systems.

R on the JVM

Over the past two decades, the R language for statistical computing has emerged as the de facto standard for analysts, statisticians, and scientists. Today, a wide range of enterprises –from pharmaceuticals to insurance– depend on R for key business uses. Renjin is a new implementation of the R language and environment for the Java Virtual Machine (JVM), whose goal is to enable transparent analysis of big data sets and seamless integration with other enterprise systems such as databases and application servers.

Renjin is still under development, with a target of a version “1.0” in late 2013, but in the meantime it is being used in production for a number of our client projects, and supports most CRAN packages, including some with C/Fortran dependencies.

Why Renjin?

We built Renjin, a new interpreter for the JVM because we wanted the beauty, the flexibility, and power of R with the performance of the Java Virtual Machine.

Bigger data

R has been traditionally limited by the need to fit data sets into memory, and working with even modest sets of data can quickly exhaust memory due to historical limitations in GNU R interpreter’s implementation.

Renjin will allow R scripts to transparently interact with data wherever it’s stored, whether that’s on disk, in a remote database, or in the cloud.

While there have been attempts to bring big data to the original interpreter, these have generally provided a parallel set of data structures and algorithms, threatening a fragmentation of the language and platform. Renjin, in contrast, will allow existing R code to run on larger datasets with no modification, using R’s familiar and standard data structures and algorithms.

Better performance

Renjin offers performance improvements in executing R code on several fronts:

  • Vector operations: Renjin’s deferred computation engine automatically parallelizes and optimizes vector operation to run an order of magnitude faster, without the memory demands of computing intermediate structures
  • Matrix operations: Renjin allows the user to plugin best-of-class implementations of BLAS, LAPACK, and FFT.
  • Scalar operations: Renjin will compile frequently used portions of R code to JVM byte code on the fly, dramatically increasing performance of R’s notorious performance on for loops and other predominantly scalar code [2013Q3]

These improvements make it possible to perform real-time analyses using complex models.


Renjin enables R developers to deploy their code to Platform-as-a-Service providers like Google Appengine, Amazon Beanstalk or Heroku without worrying about scale or infrastructure. Renjin is pure Java – it can run anywhere.


However, I did test it and I think the R and Clojure community and even the professional R product companies can do a bit more to support R on JVM

I would also be careful on the licenses of the Java flavor used 😉

Nopes,   Brian Ripley is still benevolent dictator of life at R. He wont be losing any sleep on this new fork of R!

But seriously 😉 !

Screenshot from 2013-09-03 07:11:13