Author Archives: Jonathan Callahan

Logging and Error Handling in Operational Systems

This entry is part 22 of 22 in the series Using R

Operational systems, by definition, need to work without human input. Systems are considered “operational” after they have ben thoroughly tested and shown to work properly with a variety of input. However, no software is perfect and no real-world system operates …   read more …

Posted in Uncategorized | Tagged , | Leave a comment

Improved Python-style Logging in R

This entry is part 21 of 22 in the series Using R

Last August, in Python-style Logging in R, we described using an R script as a wrapper around the futile.logger package to generate log files for an operational R data processing script. Today, we highlight an improved, documented version that can be …   read more …

Posted in R | Tagged | Leave a comment

Python-style Logging in R

This entry is part 20 of 22 in the series Using R

We are increasingly using R in “operational” settings that require robust error handling and logging. In this post we describe a quick-and-dirty way to get python style multi-level log files by wrapping the futile.logger package.

Posted in R, Toolbox | Tagged , | Comments Off on Python-style Logging in R

When k-means Clustering Fails

This entry is part 19 of 22 in the series Using R

Letting the computer automatically find groupings in data is incredibly powerful and is at the heart of “data mining” and “machine learning”. One of the most widely used methods for clustering data is k-means clustering. Unfortunately, k-means clustering can fail …   read more …

Posted in R | Tagged , , | Comments Off on When k-means Clustering Fails