ojala,
@ojala@mastodon.nz avatar

deleted_by_author

  • Loading...
    georgemsavva,
    @georgemsavva@genart.social avatar

    @ojala How would your student know that subset even exists? So much education starts and ends with tidyverse.

    tomdewar,
    @tomdewar@mas.to avatar

    @ojala I’ve used tidyverse functionality a ton. Never ever use
    library(tidyverse)
    Only loading what you actually need is a habit everyone should form early and stick to. Get into efficient coding habits and you minimise the need (for yourself or others) to optimise and refactor later.

    lulu_powerful,
    @lulu_powerful@fosstodon.org avatar

    @ojala In my postgrad program, there's no discussion about this at all. People think is R.

    Some package documentation seems to encourage careless use of resources too. If you use the recommended setup for in R, it will install and point to an entirely new python env with tensorflow - when you could just point it to the python and tensorflow env you've already got.

    baptnz,
    @baptnz@vis.social avatar

    @ojala I can see a reasonable argument: you load it first, and then don't have to think about which packages you need while you focus on the problem (I find it disruptive – "oh the code doesn't run, I need to load something – is this in dplyr or tidyr or purrr...?").

    But it'd be nice if there was an easy way to check afterwards which packages are actually needed, once the code is ready, and replace {tidyverse} with that minimal subset. (maybe this functionality already exists?)

    j,

    @ojala familiarity is worth a lot in terms of productivity, but always good to learn about alternatives especially if they are in the std lib.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • Leos
  • provamag3
  • cisconetworking
  • megavids
  • lostlight
  • All magazines