Articles by jonathanatmazamascience

Easy Rolling Means with MazamaRollUtils

September 23, 2021 | jonathanatmazamascience

Our goal in creating a new package of C++ rolling functions is to build up a suite of functions useful in environmental time series analysis. We want these functions to be available in a neutral environment with no underlying data model. The functions are as straightforward to use as is ...
[Read more...]

Beautiful Maps with MazamaSpatialPlots

September 16, 2021 | jonathanatmazamascience

Many of us have become addicted to The NY Times COVID maps — maps of US state or county level data colored by cases, vaccinations, per capita infections, etc. While recreating maps like these in R is possible, it is disappointingly difficult. The just released MazamaSpatialPlots R package takes a first ...
[Read more...]

Using R – .Call(“hello”)

July 16, 2021 | jonathanatmazamascience

In an introductory post on R APIs to C code, Calling C Code ‘Hello World!’, we explored the .C() function with some ‘Hello World!’ baby steps.  In this post we will make a leap forward by implementing the same functionality using the .Call() function. Is .Call() better than .C()? A ... [Read more...]

Logging and error handling in operational systems

July 15, 2021 | jonathanatmazamascience

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 with 100% availability or 100% consistent input. Things occasionally go wrong – perhaps ... [Read more...]

When k-means clustering fails

July 15, 2021 | jonathanatmazamascience

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 spectacularly as in the example below. Centroid-based clustering algorithms work ...
[Read more...]

Cross-origin requests with beakr

February 4, 2021 | jonathanatmazamascience

beakr is a lightweight and flexible web framework that allows you to incorporate R code as the Middleware responsible for handling web requests. At Mazama Science, we developed beakr to simplify the process of creating R-based web services that we use to deliver a variety of products: data files, images, ...
[Read more...]

Web Frameworks for R – A Brief Overview

November 11, 2020 | jonathanatmazamascience

Having recently announced the beakr web framework for R, we have received several questions about context and why we choose beakr over other options for some of our web services. This post will attempt to answer some of those questions by providing a few opinions on beakr and other web ... [Read more...]

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)