First steps of using googleVis on shiny

The guys at RStudio have done a fantastic job with shiny. It is really easy to build web apps with R using shiny. With the help of Joe Cheng from RStudio we figured out a way to make googleVis work on shiny as well. This allows you to make use of the Google Charts Tools in your shiny app directly from R. What I present here are three initial examples which seem to work in most browsers. The third example even uses a neat trick to create an animated geo chart.

However, before we upload the next version of googleVis to CRAN we decided to present a preview of version 0.4.0 here, asking for feedback. It would not be fair on the guys behind CRAN to release something into the wild, only to be told by users within a few days that we missed something. Hence, you can get the new version of googleVis only from the download page of our project site for the time being.

You may have read the post on RStudio's blog that the shiny API changed slightly: the reactivePlot and reactiveText functions have been renamed to renderPlot and renderText with simplified input parameters. Thanks to Joe, there is now also a renderGvis function as part of the googleVis package, which works in very much the same way as the other two.

To run the following examples you need shiny version 0.4.0 and googleVis version 0.4.0 or higher.


Post a Comment

Registration for 'R in Insurance' conference has opened

No comments

The registration for the first conference on R in Insurance on Monday 15 July 2013 at Cass Business School in London has opened.

The intended audience of the conference includes both academics and practitioners who are active or interested in the applications of R in insurance.

The 2013 R in Insurance conference builds upon the success of the R in Finance and R/Rmetrics events. We expect invited keynote lectures by:
  • Professor Alexander McNeil, Department of Actuarial Science & Statistics
    Heriot-Watt University: Implementing CreditRisk+ in R with the Faster Fourier Transform
  • Trevor Maynard, Head of Exposure Management and Reinsurance, Lloyd's: There is an R in Lloyd's
We invite you to submit a one-page abstract for consideration. Both academic and practitioner proposals related to R are encouraged.

The submission deadline for abstracts is 28 March 2013. Please email your abstract (in txt or pdf format) to rinsuranceconference at gmail dot com.

The conference committee consists of:

Details about the registration and abstract submission are given on the new dedicated R in Insurance page at Cass Business School.

The organisers, Andreas Tsanakas and Markus Gesmann, gratefully acknowledge the sponsorship of Mango Solutions.

No comments :

Post a Comment

New Data Scientist role at Lloyd's

No comments
Lloyd's of London is looking for a Data Scientist as part of the Analysis team. See Lloyd's career web site for more details.

No comments :

Post a Comment

Review: Kölner R Meeting 6 February 2013

The fourth Cologne R user meeting took place last Wednesday at the Institute of Sociology. Thanks to Bernd Weiß for hosting the event and Revolution Analytics for their sponsorship.

We had two fantastic talks by Klaus Jacobi and M.eik Michalke. Klaus talked about Eliminating cloud pixels in satellite images via chronological interpolation and Meik presented his new roxyPackage package, which makes it even easier to maintain R packages with roxygen2.

Eliminating cloud pixels in satellite images via chronological interpolation

Klaus gave a great case study about his consulting work as a water engineer in Asia, where he used R to analyse the snow melting process in the mountains of Pakistan.

Images of snow melting over time. Klaus Jacobi

About half of the fresh water in some regions of Pakistan is sourced from snow meting during the spring season. The water is captured in dams and as the snow only melts slowly the water supply is much more predictable than the water from the monsoon season, which is the other key source of fresh water during the year.


Post a Comment

Next Kölner R User Meeting: 6 February 2013

No comments

Quick reminder: The next Cologne R user group meeting is scheduled for tomorrow, 6 February 2013. All details and the agenda are available on the KölnRUG Meetup site. Please sign up if you would like to come along. Notes from the last Cologne R user group meeting are available here.

Thanks also to Revolution Analytics, who are sponsoring the Cologne R user group as part of their vector programme.

No comments :

Post a Comment