Elektrine lite

← Feed

@danwwilson@rstats.me

Post #1098394

2024-12-04 23:56 UTC

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

Replies (3)

  • @lwpembleton@genomic.social 2024-12-05 00:04

    @danwwilson please share your how to 🤩

    Open ##2083745

  • @elipousson@dads.cool 2024-12-05 11:19

    @danwwilson Please share if you have a chance! Sounds super handy.

    Open ##2083749

  • @steffilazerte@fosstodon.org 2024-12-18 20:54

    @danwwilson (@rOpenSci Community Assistant here) Cool use of targets maintained by @landau! I too would ask if you'd consider adding this use case (description and code snippet) to our public forum? https://discuss.ropensci.org/c/usecases/ We list these usecases on our website (https://ropensci.org/usecases/) and love to share examples of how rOpenSci packages are used. Thank you 🙏!

    Open ##2083751