#rstats another reason to hate excel. Regional settings cause dates to do different things on different computers. Why did you just convert half my dates incorrectly excel? 😡
danwwilson 
Founder of The Data Collective & Fundraising Insights
Moderator of rstats.me
Passionate about helping NFPs to get the best value out of their data. I help charities understand how data can be used to identify strategic opportunities, and how to make best use of the information available to them.
I use #RStats to make this all happen
Plant based diet | Ride 🚲 for fun.
Brisbane | Australia
@mdsumner@rstats.me I appreciate the frustration, but let’s pop a content warning on this one for those who might not like that language in their feed.
So {targets} is a great package, but sometimes it creates friction when working interactively. So today, I made a little helper function to load a selection of targets. It allows me to bind this to a shortcut key in VSCode that will load all the highlighted targets.
So far, it is going very well for when I am debugging a function and need to load a bunch of targets into memory. #rStats #workflow
@lwpembleton I have this in a package:
tar_load_selection <- function(..., store = targets::tar_config_get("store")) {
target_names <- as.character(as.list(substitute(...())))
targets::tar_load(target_names, store = store, envir = globalenv())
}
keybinding like:
{
"key": "l",
“name": "load target at cursor",
"type": "command",
"command": "r.runCommandWithSelectionOrWord",
"args": “tdctargets::tar_load_selection($$)"
},
