Fixing Rcpp warning in Mac OS
In Mac OS I was getting an annoying warning when compiling Cpp code via Rcpp in R: ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/version_number'...
View ArticleRecreational programming
I think programming, aka coding, is a fun activity. We are solving a problem subject to a set of constraints that can be time, memory, quantity of code, language, etc. Besides being a part of my work,...
View ArticleFlotsam 16: neovim
Just to remember where things are in my neovim installation in MacOS: " Configuration file ~/.config/nvim/init.vim " Using vim-plug for managing plugins ~.local/share/nvim/site/autoload " Location of...
View ArticleFlotsam 17: maps
Tiling is one of the big pieces to put together nice, interactive maps. How The Post is replacing Mapbox with open source solutions describe the tech behind solving this problem with Open Source...
View ArticleSome love for Base R. Part 1
For a long time it has bothered me when people look down at base-R (meaning the set of functions that comes in a default installation), as it were a lesser version of the language when compared to the...
View ArticleSome love for Base R. Part 2
Where were we? Giving some love to base-R and putting together the idea that it is possible to write R very clearly when using base. Two sets of typical issues: Subsetting rows and columns When running...
View ArticleSome love for Base R. Part 3
It seems a few people have found useful the reminders of base-R functionality covered in “Some love for Base R” Part 1 and Part 2. So I will keep on mentioning a few bits and pieces that you may find...
View ArticleAnyone using other than RStudio?
I asked both in Mastodon and Twitter “Anyone using other than #RStudio as their main #rstats IDE?” and—knowing that some programmers are literal and would probably reply ‘Yes’—I added “What is it?” Of...
View ArticleHow old is your favourite language?
We often forget for how long we’ve been writing code in specific languages. For example, I started using SAS in 1992 for the analysis of progeny trials, Python to control Fortran sampling simulations...
View ArticleOld dog, etc
Yesterday I attended an introduction to “Artificial Intelligence in Forestry”* workshop at the School of Forestry, University of Canterbury. There were plenty of industry people, including some of I...
View Article