Lorenzo Gaborini

169 posts

Lorenzo Gaborini

Lorenzo Gaborini

@lgaborini

Senior Data Analytics Officer @IntTestAgency · PhD Forensic Science @unil · MSc Math Engineering @polimi Find me on @lgaborini.bsky.social!

Lausanne, Switzerland Katılım Mayıs 2010
144 Takip Edilen36 Takipçiler
Manuel R.
Manuel R.@SfrenzyChannel·
Cara @migros, come potete vendere prodotti del genere? Il sapore è pessimo e sembrano di plastica. Da voi mi aspetto maggiore qualità. Non sorprende che molti scelgano di fare la spesa altrove, magari anche oltre confine... 🤔
Manuel R. tweet media
Italiano
3
1
1
256
MétéoSuisse
MétéoSuisse@meteosuisse·
A partir du 30 novembre, il ne sera plus possible de laisser des commentaires sur les blogs MétéoSuisse. En cause, de plus en plus de commentaires à teneur négative et la nécessité d'économies. Pour en savoir plus : meteosuisse.admin.ch/portrait/meteo…
Français
18
5
45
5.1K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@brodriguesco I routinely get this error, also with Matrix. Usually it's because renv (or the base installer) downloades a package by source, either from the wrong repository or the dev version
English
0
0
0
800
Bruno Rodrigues
Bruno Rodrigues@brodriguesco·
Can someone explain to me how this version of MASS that came out in July 2023 depends on a version of R that came out in April 2024?
Bruno Rodrigues tweet mediaBruno Rodrigues tweet media
English
6
2
30
10.4K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@RandVegan #getting-and-setting" target="_blank" rel="nofollow noopener">adv-r.hadley.nz/vectors-chap.h… "Attributes should generally be thought of as ephemeral. For example, most attributes are lost by most operations: (...) To preserve other attributes, you’ll need to create your own S3 class"
English
1
2
8
250
Midterms are Nov. 3rd 2026. Go register voters
if you sign an attribute a dataframe, either with structure() or attr(), it goes away if you do a group_by() + summarize() function. Is there a way to make it stay no matter what action is performed?
English
2
2
9
1.4K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@RandVegan If the dataframe is a lazy table, sometimes they work without issues. Such as {skimr}: tbl_mtcars <- dplyr::tbl(con, "mtcars") tbl_mtcars |> skimr::skim()
English
0
0
1
91
Matthias Schnetzer
Matthias Schnetzer@matschnetzer·
If you like to create your own scrollytelling project, please find my code here: github.com/mschnetzer/scr… You need little knowledge of Markdown, R and CSS. Good luck and keep me posted about your results!
Matthias Schnetzer@matschnetzer

🤩Scrollytelling with @quarto_pub, closeread extension and #rstats! Great new possibilities for data-driven stories. Check out my first project: mschnetzer.github.io/scrollytell_ar… (on a laptop) 👀 @geokaramanis @R_Graph_Gallery

English
4
22
184
17.1K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@RandVegan You shouldn't, most {tidyverse} args support empty arguments! Every time rlang::list2() is used behind the scenes (this also works if you want to create a list)
English
0
0
1
186
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@GenthianPrigas @kennedymwavu You don't have to manage anything: these compress and decompress automatically readr::write_csv(mtcars, "data.csv.gz") readr::read_csv("data.csv.gz") (in the past read_* could lock the file, now it doesn't by default)
English
0
0
2
65
Mwavu
Mwavu@kennedymwavu·
R connections are fascinating. wdym i can write & read directly from a gzipped file?! no tempfiles needed, and the connections auto-close when done.
Mwavu tweet media
English
2
8
93
4.6K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@TylerJBurch {crosstalk} is so underrated and underdeveloped, it's the only 100% offline solution to create interactive tools without coding too much, or setting up a static server (Quarto + OJS, WebR, Quarto + shinylive)
English
0
0
0
118
Tyler Burch
Tyler Burch@TylerJBurch·
I'm looking for your strongest opinions on R project structure and setup. Actually just give me your strongest R opinions and tooling thoughts, I'm about to be writing a lot more of it.
English
28
7
95
27.1K
Lorenzo Gaborini
Lorenzo Gaborini@lgaborini·
@stephenjwild I challenged myself to avoid annotation grobs (it would have probably been much simpler), and play with the clipping instead (data is made up, but it's on the same idea) 😅 Also, I couldn't use {ggrepel} to simultaneously add the textbox and the connector #file-ggplot-floating-textbox-r" target="_blank" rel="nofollow noopener">gist.github.com/lgaborini/7a5b…
Lorenzo Gaborini tweet media
English
0
0
2
641
Ambassador Frank Hull ☤
Ambassador Frank Hull ☤@frankiethull·
I joined Twitter in 2022 to connect with other R programmers. A few months later, ownership transferred and I watched a mass exodus. 😭 But I hear there's no R community here? Not true. A good place to start looking:
English
22
23
273
122.3K
Gergely Daróczi
Gergely Daróczi@daroczig·
It seems like my `logger` #rstats📦 got a new user😊 Huge thanks to @hadleywickham for the 10+ (!) PRs within a week to get the pkg (docs, tests, website etc) into much better shape! 🙌🦾🙇 You should also give it a try: daroczig.github.io/logger 🪵🪓🚀🌔
Gergely Daróczi tweet media
English
2
0
45
2.7K
LaurieWired
LaurieWired@lauriewired·
Android... Android stop Android what are you doing
LaurieWired tweet media
English
118
259
5.5K
175.3K
Tobias Schmidt
Tobias Schmidt@RoyalTS·
@RandVegan At the same time, fs provides a so much more coherent set of functions for file manipulation.
English
1
0
4
161
Midterms are Nov. 3rd 2026. Go register voters
Base R has so many cool functions. Just learned about normalizePath(), basename() and tools::file_ext(). Perfect solutions to the project I was working on
English
4
7
80
7K
RiscV
RiscV@MKVRiscy·
I googled “calories per hectare” looking for a list of crops ranked by how many calories they yield per unit area, and google so kindly decided to convert the units for me automatically
RiscV tweet media
English
46
423
18.8K
453K
autism hexafluoride
autism hexafluoride@servomechanica·
okay so duckduckgo is BROKEN broken
autism hexafluoride tweet media
English
14
10
416
50.7K
Ben Golus⚠️⭕
Ben Golus⚠️⭕@bgolus·
Ooo! Update to PowerToys! *reads update notes* "New utility: Advanced Paste, an AI powered tool..." Well, at least I can just not use it... "Paste as Plain Text was removed as a separate utility, since its functionality is now part of the Advanced Paste utility." Nope. Im out
English
40
116
1.5K
109.7K