Articles by Random R Ramblings

poorman: Version 0.2.1 Release

July 1, 2020 | 0 Comments

Introduction Welcome to my series of blog posts about my data manipulation package, {poorman}. For those of you that don’t know, {poorman} is aiming to be a replication of {dplyr} but using only {base} R, and therefore be completely dependency free. What’s nice about this series is that ... [Read more...]

poorman: The Selectificator 2000!

May 17, 2020 | 0 Comments

Introduction Welcome to my series of blog posts about my data manipulation package, {poorman}. For those of you that don’t know, {poorman} is aiming to be a replication of {dplyr} but using only {base} R, and therefore be completely dependency free. What’s nice about this series is that ... [Read more...]

poorman: The Selectificator 2000!

April 13, 2020 | 0 Comments

Introduction Welcome to my series of blog posts about my data manipulation package, {poorman}. For those of you that don’t know, {poorman} is aiming to be a replication of {dplyr} but using only {base} R, and therefore be completely dependency free. What’s nice about this series is that ... [Read more...]

poorman: Select helpers, bug fixes and tests, tests, tests!

April 13, 2020 | 0 Comments

Introduction Hello all and welcome to another edition of the poorman series of blog posts. In this series I am discussing my progress in writing a base R equivalent of dplyr. What’s nice about this series is that if you’re not into poorman and would prefer just to ... [Read more...]

poorman: First Release of a base R dplyr Clone

April 1, 2020 | 0 Comments

Introduction The first official release of poorman (v 0.1.9) is now on CRAN! You can now install poorman directly from CRAN with the following code: install.packages("poorman") In this blog post I want to address some common questions that I have received since I started writing the package. What is ...
[Read more...]

Including Function Factories in an R Package: Using Collate

February 25, 2020 | 0 Comments

Introduction This week I was working on a package which included a function factory. A function factory is a function which returns a function. The problem I faced was that when I was running R CMD check on my package, the check informed me my package had several issues which ... [Read more...]

Primitive Functions List

February 1, 2020 | 0 Comments

Ever wondered which R functions are actually passed to internal C code? Well, wonder no more as it turns out there is an unexported named list within the methods package providing instructions for turning builtin and special functions into generic functions. Wrapping this list with names() gives us the list ... [Read more...]

Get and Set List Elements with magrittr

February 1, 2020 | 0 Comments

Introduction Did you know that the magrittr pipe, %__%, can be used for more than just data.frames and tibbles? In this blog post, we look at how we can create get and set functions for list elements. Getting List Elements First, let’s create a simple list. z1 %. How can ... [Read more...]

Posts

September 14, 2019 | 0 Comments

<!--

[social4i size="small" align="align-left"] --<div style="border: 1px solid; background: none [Read more...]

No visible binding for global variable

August 18, 2019 | 0 Comments

Recently I have been working on a very large legacy project which utilises the excellent data.table package throughout. What this has resulted in is an R CMD check containing literally thousands of NOTEs similar to the following: ❯ checking R code for possible problems ... NOTE my_fn: no visible binding ... [Read more...]

Extending sparklyr: Data Types

March 8, 2018 | 0 Comments

TL;DR sparklyr maps R data types and data storage types to Scala, but it doesn’t handle all data storage types. This blog post discusses how to generate Scala data storage types from the R side, that are not generated by sparklyr. You can do this by using the ... [Read more...]

Project Euler in R

February 28, 2018 | 0 Comments

Project Euler This is just a short blog post to raise some awareness to some fun programming and mathematical challenges I recently came across, hosted on Project Euler. The idea behind Project Euler is to provide abstract programming challenges for p... [Read more...]

Accessing Private Methods from an R6 Class

August 13, 2017 | 0 Comments

I recently wrote a package to solve the Twitter Waterflow Problem using an R6 class. You can view the package here and read about how I approached the problem here. In this blog post, I want to highlight how you can access private members of an R6 clas... [Read more...]
1 2

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)