@zoowalk@mastodon.social
@zoowalk@mastodon.social avatar

zoowalk

@zoowalk@mastodon.social

Dad. PhD Comp Pol CEU alumnus. Im Garten. #rstats hello #julialang

This profile is from a federated server and may be incomplete. Browse more on the original instance.

zoowalk, to vscode
@zoowalk@mastodon.social avatar

Q for #rstats #quarto users in #vscode - am I right that there is no way to see the final appearance of a plot other than rendering the document? There is no preview - other than in rstudio - which gives an accurate representation? The vsc plot window follows its own dimension (distorts proportions).

Love vs code but re-rendering the whole doc for each plot iteration feels quite cumbersome. Tagging the mighty @andrew since I think there was a related discussion on GH which I can't find..🙏🙏👏👏

zoowalk,
@zoowalk@mastodon.social avatar

@andrew That's really unfortunate, bit of an annoyance in the vs code workflow. Many thanks for confirming though.

zoowalk, to random
@zoowalk@mastodon.social avatar

#rstats #ggplot2 3.5 will have the theme option "legend.location" which aligns legends to the panel or the plot as a whole.
No more fiddling with x and y values.

Kudos to @teunbrand

image/png

andrew, to random
@andrew@fediscience.org avatar

oooh the upcoming v1.4 of supports image lightboxes so you can click on images to zoom. You can even link a bunch of images together to make a gallery! https://quarto.org/docs/prerelease/1.4/lightbox.html

zoowalk,
@zoowalk@mastodon.social avatar

@andrew

that's great to hear, but fwiw lightboxes are already possible:

put

filters:

  • lightbox
    lightbox:
    match: auto
    desc-position: bottom

in your _quarto.yml; works totally fine;

e.g. https://werk.statt.codes/posts/2023-03-17-state-elections-and-covid/#sec-dotplots

mikerspencer, to random
@mikerspencer@mastodon.scot avatar

Is formattable still the go-to package for pretty tables in R?

zoowalk,
@zoowalk@mastodon.social avatar

@Lluis_Revilla @mikerspencer @Posit

If you use gt, check out also gtExtras by @thomas_mock ; basically supercharges gt.

I can also recommend reactable and reactablefmtr packages.

https://jthomasmock.github.io/gtExtras/articles/plotting-with-gtExtras.html

https://github.com/glin/reactable/
https://kcuilla.github.io/reactablefmtr/

zoowalk, to random
@zoowalk@mastodon.social avatar

Just realized that the new, 2nd edition of the "R Packages" book by @hadleywickham and @jennybryan is already on sale!! 😀

https://www.oreilly.com/library/view/r-packages-2nd/9781098134938/

The free online version is located at
https://r-pkgs.org/

#rstats

stevensanderson, to random
@stevensanderson@mstdn.social avatar

I encourage you to roll up your sleeves and give it a try yourself. 💪🔍

Read the full blog post and start your exploration. Let's dive in and level up your data analysis game! 🚀📊

https://www.spsanderson.com/steveondata/posts/2023-07-17/

#Rprogramming #DataAnalysis #DuplicatesDetection #dplyr #BaseR #DataManipulation

zoowalk,
@zoowalk@mastodon.social avatar

@stevensanderson

many thanks, good to know the different approaches & durations when it comes to dealing with dupes.

Btw - the janitor packages offers a convenient "get_dupes" function.

https://sfirke.github.io/janitor/reference/get_dupes.html

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