Publications by gluc

data.tree 0.2.0 “Elder” on CRAN

07.09.2015

Today, the latest version of the data.tree package was published to CRAN. This version has been named Elder, as in celtic symbolism the elder tree stands for transition, evolution, and continuation, at least according to this site. Transition, evolution, and continuation. Sigh, beautiful. Back to the here and now: Thanks a lot to everyone who...

4909 sym R (143 sym/19 pcs)

Solving Tic-Tac-Toe with R data.tree

24.09.2015

In this post, we do a brute force solution of Tic-Tac-Toe, the well-known 3*3 game. You’ll learn how data.tree can be used to build a tree of game history, and how the resulting data.tree structure can be used to analyse the game. This post is based on data.tree 0.2.1, which you can get from CRAN. We want to set up the problem in a way such th...

2450 sym R (2883 sym/19 pcs)

Shiny CRUD App

27.09.2015

In this post, we write a shiny app that lets you display and modify data that is stored in a database table. Shiny and Databases Everybody loves Shiny, and rightly so. It lets you publish reproducible research, brings R applications to non-R users, and can even serve as a general purpose GUI for R code. However, sometimes I’m surprised how dif...

5543 sym R (3432 sym/11 pcs) 2 img

Shiny (introductory article)

22.10.2015

No code for once. This is an independent, introductory article about RStudio’s Shiny web application framework for R. This could be useful for people who don’t know what Shiny is. Or for those of you who want to find out when to use Shiny.  What does Shiny do? Shiny is a fine product. It allows you to make your data and research accessible ...

6019 sym

Setting up an AWS instance for R, RStudio, OpenCPU, or Shiny Server

23.11.2015

While most web-developers have worked with Amazon AWS, Microsoft Azure, or similar platforms before, this is still not the case for many R number crunchers. Especially researchers at academic institutions have less exposure to these commercial offerings. Time to change that! In this post, we explain how to set up an Ubuntu server instance on AWS...

4920 sym R (293 sym/7 pcs) 12 img

TreeMap World Population visualisation

26.11.2015

This example is inspired by the examples of the treemap package. You’ll learn how to convert a data.frame to a data.tree structure navigate a tree and locate specific nodes use Aggregate and Cumulate manipulate an existing tree, e.g. by using the Prune method use data.tree in connection with the treemap package This code build...

3383 sym 5 img 18 tbl

Installing RStudio Shiny Server on AWS

01.12.2015

In this beginner’s level tutorial, you’ll learn how to install Shiny Server on an AWS cloud instance, and how to configure the firewall. It will take just a few minutes! Why? Playing around with Shiny is simple enough: all you need is is the R package called shiny, which you can get directly from CRAN. Making your work available to you ment...

5299 sym R (621 sym/10 pcs) 10 img

R ahp package on github

21.12.2015

AHP lets you analyse complex decision making problems. We have recently released the initial version of the R ahp package on github: gluc/ahp. What is AHP? The Analytic Hierarchy Process is a decision making framework developed by Thomas Saaty. Read this entry on Wikipedia for more information. There is commercial software available to use thi...

3030 sym R (1473 sym/5 pcs) 2 img

Shiny https: Securing Shiny Open Source with SSL

23.12.2015

As described in my Shiny overview post, there are different versions of Shiny server. Among other limitations, the open source flavor does not come with built-in support for https and user access control. In this post, we explain how you can nevertheless turn your Shiny Open Source server into a Shiny https server. This tutorial builds on prev...

8767 sym R (901 sym/13 pcs) 12 img

ahp 0.2.4 on CRAN

18.01.2016

The R package ahp has been released to CRAN. Model complex decision making problems using the Analytic Hierarchy Process by Thomas Saaty. The package contains a Shiny app to play around with your models (try it out at http://ipub.com/apps/ahp ). Also, you can visualize the structure of your problem: Also, ahp now supports multiple decision ma...

1148 sym R (40 sym/1 pcs) 4 img