My attempt at solving the puzzle using three basic R functions (#24) strsplit, rle and paste (paste0 is just a synonym with a default value for a separator set to "").
In addition to the solution I've also added myself to the authors, bumped stats and tried to add R to the run chain. I'm pretty sure I somehow botched the last part.
My attempt at solving the puzzle using three basic R functions (#24)
strsplit
,rle
andpaste
(paste0
is just a synonym with a default value for a separator set to""
).In addition to the solution I've also added myself to the authors, bumped stats and tried to add R to the run chain. I'm pretty sure I somehow botched the last part.