Blog Archives

First Class R Support in Binder / Binderhub – Shiny Apps As Well as R-Kernels and RStudio

July 5, 2018
By
First Class R Support in Binder / Binderhub – Shiny Apps As Well as R-Kernels and RStudio

I notice from the binder-examples/r repo that Binderhub now appears to offer all sorts of R goodness out of the can, if you specify a particular R build. From the same repo root, you can get: Jupyter notebook+R: http://beta.mybinder.org/v2/gh/binder-examples/r/master?filepath=index.ipynb RStudio: http://beta.mybinder.org/v2/gh/binder-examples/r/master?urlpath=rstudio A Shiny app: http://beta.mybinder.org/v2/gh/binder-examples/r/master?urlpath=shiny/bus-dashboard/ And from previously, here’s a workaround for displaying R/HTMLwidgets in

Read more »

Generative Assessment Creation

May 14, 2018
By
Generative Assessment Creation

It’s coming round to that time of year where we have to create the assessment material for courses with an October start date. In many cases, we reuse question forms from previous presentations but change the specific details. If a question is suitably defined, then large parts of this process could be automated. In the OU, automated

Read more »

R HTMLWidgets in Jupyter Notebooks

April 26, 2018
By
R HTMLWidgets in Jupyter Notebooks

A quick note for displaying R htmlwidgets in Jupyter notebooks without requiring pandoc – there may be a more native way but this acts as a workaround in the meantime if not: PS and from the other side, using reticulate for Python powered Shiny apps.

Read more »

Generating Text From An R DataFrame using PyTracery, Pandas and Reticulate

April 8, 2018
By
Generating Text From An R DataFrame using PyTracery, Pandas and Reticulate

In a couple of recent posts (Textualisation With Tracery and Database Reporting 2.0 and More Tinkering With PyTracery) I’ve started exploring various ways of using the pytracery port of the tracery story generation tool to generate variety of texts from Python pandas data frames. For my F1DataJunkie tinkerings I’ve been using R + SQL as

Read more »

Sketch – Data Trivia

April 7, 2018
By

A bit more tinkering with F1 data from the ergast db, this time trying to generating trivia / facts around races. The facts are identified using SQL queries: Some of the queries also embed query fragments, which I intend to develop further… I'm using knitr to generate Github flavoured markdown (gfm) from my Rmd docs

Read more »

Tinkering with Competitive Supertimes

April 6, 2018
By
Tinkering with Competitive Supertimes

I’m back on the R thang with F1 data from ergast.com, and started having a look at how drivers and teams compare at a circuit. One metric I came across for comparing teams over a season is the supertime, typically calculated for each manufacturer as the average of their fastest single lap recorded by the team

Read more »

Note On My Emerging Workflow for Working With Binderhub

December 1, 2017
By
Note On My Emerging Workflow for Working With Binderhub

Yesterday saw the public reboot of Binder / MyBinder (which I first wrote about a couple of years ago here), as reported in The Jupyter project blog post Binder 2.0, a Tech Guide and this practical guide: Introducing Binder 2.0 — share your interactive research environment. For anyone not familiar with Binder / MyBinder, it’s

Read more »

Quick Round-Up – Visualising Flows Using Network and Sankey Diagrams in Python and R

November 28, 2017
By
Quick Round-Up – Visualising Flows Using Network and Sankey Diagrams in Python and R

Got some data, relating to how students move from one module to another. Rows are student ID, module code, presentation date. The flow is not well-behaved. Students may take multiple modules in one presentation, and modules may be taken in any order (which means there are loops…). My first take on the data was just

Read more »

Programming, meh… Let’s Teach How to Write Computational Essays Instead

November 15, 2017
By
Programming, meh… Let’s Teach How to Write Computational Essays Instead

From Stephen Wolfram, a nice phrase to describe the sorts of thing you can create using tools like Jupyter notebooks, Rmd and Mathematica notebooks: computational essays that complements the “computational narrative” phrase that is also used to describe such documents. Wolfram’s recent blog post What Is a Computational Essay?, part essay, part computational essay,  is primarily

Read more »

Fragment – DIT4C – Docker Base Containers for Edu Remote Computing Labs

October 22, 2017
By
Fragment – DIT4C – Docker Base Containers for Edu Remote Computing Labs

What’s an effective way of helping a student run a desktop application when their own computer won’t run the application, for whatever reason, locally? Virtualised software, running remotely, provides one solution. So here’s an example of a project that looks at doing just that:  DIT4C (“Data Intensive Tools for the Cloud”), ‘a platform for hosting data analysis

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)