Ga naar de inhoud

R

So… What’s the deal with rlang, anyway?

So… what is rlang, anyway? And why is it so powerful? If you’re familiar with the tidyverse and/or looked at package dependencies, you’ve probably seen rlang pop up and wondered what on earth it’s doing there. In this article, we’ll take a look at what rlang actually is, how it fits into R’s world, how you can use it yourself, and what kinds of things it makes possible. We’ll keep… Lees verder »So… What’s the deal with rlang, anyway?

Object-oriented programming in R with S7

S7: A New Object-Oriented Programming System in R

R isn’t just about functional programming—it also supports object-oriented programming through various class systems. One the latest object-oriented programming systems is S7, a successor of the more well-known S3 and S4 systems. S7 tries to take the best of S3 and S4, and eliminate some of the downsides of both systems. But what is object-oriented programming to begin with? What is the difference between S7 and S3, S4 and R6?… Lees verder »S7: A New Object-Oriented Programming System in R

Embedding R in WordPress using webR

Discover webR: a new advancement that has set the R community abuzz this year! Imagine being able to harness the potential of R without the need for an R server. With webR, the R interpreter runs directly on the user’s machine, empowering you to run R code effortlessly in a web browser. In this article, we delve into the details of webR and will demonstrate how you can integrate R… Lees verder »Embedding R in WordPress using webR

shiny hexagon

Event tracking a Shiny application with Google Analytics

You developed an awesome Shiny application and published it to the web. Congrats! Now you want to get a sense of who uses your application and what they do while they are there. Luckily, there is Google Analytics. In this blogpost, you will learn how to add general tracking and event tracking code to your Shiny application with Google Analytics. First, we cover the basics of Google Analytics. Second, we… Lees verder »Event tracking a Shiny application with Google Analytics

Google Maps train stations in the Netherlands

Using Google Maps in R: part two

Using Google Maps in R: part two! In this blog series about using Google Maps in R, I will guide you through examples on how to use the Google Maps API. In part one I showed you examples using the package mapsapi. This second part is about exploring the package ggmap. Getting your API key(s) Whether you’re working with mapsapi or ggmap, you will need API key(s). In the previous… Lees verder »Using Google Maps in R: part two

Routes using Leaflet

Using Google Maps in R

Using Google Maps in R is easy! This series of blog posts will guide you through the possibilities to work with Google Maps in R. In part one we will discuss the package mapsapi. In part two we will discuss a ggplot2 friendly option: ggmaps. Getting your API key(s) Whether you want to work with mapsapi or ggmaps: the first step is getting your API key(s). Sounds like an easy… Lees verder »Using Google Maps in R

Ultimate cheatsheet for regex in R

Dit artikel is alleen beschikbaar in het Engels. Regular expressions are one of those topics programmers tend to either love or hate. And I admit, sometimes it’s confusing. In order to structure the information, I made an overview. So in this blog post I will share the ultimate cheatsheet for using regex in R, and other languages that support POSIX standards! Regular expressions are also called regex or regexp. A… Lees verder »Ultimate cheatsheet for regex in R