Publications by FishyOperations

Introducing simmer: Discrete Event Simulation for R

03.09.2014

This post has been transferred from another blog platform and could have dead links / incorrect lay-out. Please note: the syntax described here is no longer up-to-date, please refer to the readme at simmer’s GitHub page. The simmer package grew out of a personal need for a simple rapid development discrete event simulation (DES) framework. I ...

3545 sym R (1044 sym/8 pcs) 10 img 1 tbl

scheduleR receives big update

02.03.2015

For the newcomers; scheduleR is a framework to deploy/schedule R tasks, reports and Shiny apps. The tool has an integrated logging and notification system to ease the maintenance of scheduled R related jobs. After a lot of refactoring the tasks have been separated into tasks (e.g. ETL scripts) and reports (rmarkdown). The back-end that handles th...

1303 sym 2 img

sparklines for R

10.04.2015

I’ve always liked the jQuery Sparklines library and today I had a use case for implementing these in one of my Rmarkdown reports. While it wouldn’t be too difficult to staticly include a javascript based chart, ideally I would simply want to dynamically generate the sparkline using values computed in R. Luckily we now have htmlwidgets for R. ...

1503 sym R (447 sym/6 pcs)

infuser: a template engine for R

17.05.2015

Version 0.1 of infuser was just released on CRAN. infuser is a very basic templating engine. It allows you to replace parameters in character strings or text files with a given specified value. I would often include some SQL code in my R scripts so that I could make parameters in the SQL code variable. But I was always a bit hesitant on the clean...

1288 sym

licorice: plot Likert-like data

16.06.2015

I wanted to create a nice visualization from a survey data set. I quickly stumbled upon the likert package (go check it out). I did however have some trouble getting it to work the way I wanted. Therefore I made a quick implementation of my own that you can install from GitHub: github.com/Bart6114/licorice (check out the GitHub README for more in...

912 sym 2 img

dimple charts for R

20.06.2015

dimple is a simple-to-use charting API powered by D3.js. Making use of the nice htmlwidgets package it only took a minimum amount of coding to make the dimple library available from R. You can find the dimple R package at github.com/Bart6114/dimple and some documentation and examples at: bart6114.github.io/dimple (can take a while to load). Using...

864 sym 2 img

Jug: Easily Create R APIs

02.10.2015

Jug stands for Just Unified Galloping. Okay, okay, it’s just a play on words coming from a Flask (Python) background. Jug is my attempt to create a simple small web framework that allows you to turn your (existing) R functions into an API. Having the wonderful httpuv package at my disposal made this very easy for me. So, how does this work? Let...

1535 sym R (697 sym/5 pcs)

jug 0.1.0 on CRAN

02.11.2015

Jug is a package to allow you to easily create web APIs based on your R codestack. Documentation and examples can be found at: http://bart6114.github.io/jug/ To get started; give the CRUD-like example a try. First clone the example respository. git clone https://github.com/Bart6114/jug-crud-example.git Go to the jug-crud-example directory, open...

740 sym R (59 sym/1 pcs)

simmer 3.0.0 is on CRAN

16.11.2015

I’m very pleased to announce the first CRAN release of simmer. (https://cran.rstudio.com/web/packages/simmer/). This release has been realised thanks to the efforts made by Iñaki. To reiterate a bit, simmer is a discrete-event simulation (DES) package for R. It is the first R package that focuses on creating a robust DES framework for R. It pr...

2896 sym R (644 sym/1 pcs) 2 img

Making an R based ML model accessible through a simple API

24.11.2015

Building an accurate machine learning (ML) model is a feat on its own. But once you’re there, you still need to find a way to make the model accessible to users. If you want to create a GUI for it, the obvious approach is going after shiny. However, often you don’t want a direct GUI for a ML model but you want to integrate the logic you’ve ...

3111 sym R (422 sym/3 pcs)