Skip navigation

Category Archives: puzzler

Time for another look at what’s new and interesting in the world with the help of Peter Meissner’s (@marvin_dpr) crossword.r?.

The answers to last week’s puzzle have been posted (it seemed to make more sense posting the answers a week later vs the Monday after).

There is a dedicated category — puzzler — to make it easier to find these later on, all in one place. That category also has it’s own RSS feed.

Peter Meissner (@marvin_dpr) released crossword.r? to CRAN today. It’s a spiffy package that makes it dead simple to generate crossword puzzles.

He also made a super spiffy javascript library to pair with it, which can turn crossword model output into an interactive puzzle.

I thought I’d combine those two creations with a way to highlight new/updated packages from the previous week, cool/useful packages in general, and some R functions that might come in handy. Think of it as a weekly way to get some R information while having a bit of fun!

This was a quick, rough creation and I’ll be changing the styles a bit for next Friday’s release, but Peter’s package is so easy to use that I have absolutely no excuse to not keep this a regular feature of the blog.

I’ll release a static, ggplot2 solution to each puzzle the following Monday(s). If you solve it before then, tweet a screen shot of your solution with the tag #rstats #puzzler and I’ll pick the first time-stamped one to highlight the following week.

I’ll also get a GitHub setup for suggestions/contributions to this effort + to hold the puzzle data.

ANSWERS

library(crossword.r)

cw <- Crossword$new(rows = 12, columns = 12)

cw$add_words(
  
  words = c(
    "crosswordr",
    "searchr",
    "kerasformula",
    "fs",
    "crypto",
    "mgcv",
    "startsWith",
    "akima",
    "rcompgen",
    "broom",
    "nord"
  ),
  
  clues = c(
    "New package to generate crosswords (w/o '.')",
    "Interpolation-focused package",
    "Core generalized additive modelling package",
    "Package facilitating searching Bing, Google and more from an R console",
    "New, high-level interface package to 'keras'",
    "Consistent, cross-platform, vectorised filesystem operations package",
    "Interface package to all digital/crypto currency market data",
    "base function to test if a string starts with another string",
    "utils function to generation command completion networks",
    "Package that makes it easy to tidy statistical analyses objects",
    "An arctic, north-bluish color palette package"#,
  )
  
)