Little useless-useful R functions – Dragon curve
Let’s play with some dragons. Dragons from the Jurassic park or the board game dungeon and dragons. The algorithm is a fractal curve of Hausdorff dimension 2. One starts with...continue reading.
Let’s play with some dragons. Dragons from the Jurassic park or the board game dungeon and dragons. The algorithm is a fractal curve of Hausdorff dimension 2. One starts with...continue reading.
I use Fantastical as it’s a much cleaner and native interface than Google Calendar, which I’m stuck using. I do like to use the command line more than GUIs and,...continue reading.
After much deliberation, I have updated my personal R code style guide to no longer mandate functions begin with uppercase letters. While I still feel there is value in being...continue reading.
I have a new hobby: camera traps, also known as trail cameras. Strapped to trees in my local bushland they sit in wait, firing automatically when triggered by a passing...continue reading.
For my handful of followers, you may have noticed something strange. Over the past two days, I released updates to all four of my packages on CRAN. I decided to...continue reading.
This post outlines the steps needed for building R 4.2 for Windows with OpenBLAS using the the new Rtools42 build system. With the soon-to-be released new UCRT toolchain for building...continue reading.
A. Background We usually want to write reusable code that is compact and could be utilized in a number of use cases. That involves writing user defined functions that can...continue reading.
Visual Representation of Text Data Sets Using the R tm and wordcloud Packages: Part One Douglas M. Wiig This paper is the next installment in series that examines the use...continue reading.
Version 1.2.4 of tinytest arrived on CRAN at 17 December 2020. This release has a couple of new features. You can specify the library location in test_package with lib.loc. New...continue reading.
In R you can add extra library locations (directories where your packages are installed) with the .libPaths() function. For example, to add “~/my/lib”, you can do libs <- c(“~/my/lib”, .libPaths())...continue reading.
If you are using Yihui Xie’s bookdown package, it is quite easy to add authors and affiliations for HTML output. You only need to put the following pandoc options in...continue reading.
Version 1.0.1 of our validate package has arrived on CRAN on 2020-12-08. At the same time, a complete Data Validation Cookbook has been published online, and is also included with...continue reading.
A few weeks ago one of my students sent me an email. He’s a student of our Numpy Mastery course, and he was playing around with some Numpy techniques that...continue reading.
stringdist version 0.9.6 arrived on CRAN on 16 july 2020. This release brings a few new features. Fuzzy text search Search text for approximate matches of a search string using...continue reading.
A. What is Code Review? Code reviews are traditionally done in the context of a software development team that is building out a new product or feature. The goal is...continue reading.
R package gower was accepted on CRAN on 23 june 2020. This release fixes an edge case, affecting cases with a small number of records and a large number of...continue reading.
The tinytest package was accepted on CRAN at 18 june. This release improves the build_install_test() function with two extra arguments that were previously missing, as reported by Patrick Breheny. Meanwhile,...continue reading.
This post outlines the steps needed to build R 4+ for Windows with OpenBLAS. The release of R 4.0 includes significant changes to the Windows build system from prior versions—for...continue reading.
lumberjack is a package that allows you to track (log) changes in data while an R script is running. This allows you to detect exactly which code had what effect...continue reading.
tinytest is a relatively new, light-weight (no-dependency) but full-featured unit testing framework for R. It is currently used by 60+ packages, including the famous Rcpp package. The latest version of...continue reading.