Lotad: best Pokémon. No contest. tl;dr Use the {eyedroppeR} package by Dan Oehm if you want to sample a colour from an image using R. You don’t need to use my hastily-created function. Top of the drops A colleague on Slack asked about ‘eyedropper’ tools; where you can click a point on an image and have its colour returned. Very handy. I couldn’t recall seeing an eyedrop tool built with R. How hard could it be to make one? I thought immediately of the locator() function from base R, w...