gabornyeki, to random

R libraries implement performance-critical code in C++. But memory bugs in C++ code crash R, such as in this screenshot, even though R is designed to be memory safe.

fixest is an excellent library but a semi-frequent offender. And I've had this happen with other libraries too.

As someone who is using R because I am not prepared to debug C++, this can pretty much break a library for me. I hope that eventually Rust can take over C++'s role in

deboraha, to random
@deboraha@aus.social avatar

Hey people! I have a dataset where I’ve asked people to rank a set of 10 items from 1 to 10, and I want to compare those rankings between two groups. Sounds super simple, but I can’t work out what to use! I’ve found the nParLD package, but that’s not quite right as it’s not longitudinal data. Help?

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

Coworking next week!

Theme: Integrating and merging datasets from different sources

Tues June 6th 9:00 Australia Western (01:00 UTC)

Join @cynthiahqy and @steffilazerte

  • General coworking
  • Spend time integrating datasets for your own work
  • Explore how others tackle the problem of merging datasets from different sources or different data versions
  • Chat with Cynthia and other attendees and discuss strategies for integrating datasets

https://ropensci.org/events/coworking-2023-06/


@rstats

andrew, to random
@andrew@fediscience.org avatar

Love RStudio's rainbow highlighting of nested ::: divs in

Rendered div

meghansharris, to random
@meghansharris@fosstodon.org avatar
johnmackintosh, to random
@johnmackintosh@fosstodon.org avatar

This looks interesting

https://davzim.github.io/dataverifyr/

A lightweight package that verifies your data meets your specified rules, and automatically selects the correct package (DBI, dplyr, data.table etc) to carry out the checks.

terence, to random
@terence@fosstodon.org avatar

What if we have forest cover over shaded relief? We get this map of El Salvador!

adventures, an tale

josiah, to random

🚰 :rstat: :🔧 {valve} is ready for some test users!

Parallelize your {plumber} APIs with literally one function.

Any brave souls willing to give it a shot? (particularly windows users)

👀 read the README to understand why this is so powerful!

https://github.com/josiahParry/valve

juliasilge, to programming
@juliasilge@fosstodon.org avatar

Today @isabelizimm and I have a new guide published on how to use vetiver 🏺 to store model metrics as ✨metadata✨, in either or :

https://vetiver.rstudio.com/learn-more/metrics-metadata.html

terence, to random
@terence@fosstodon.org avatar

Back to forest cover maps with one of México.

adventures, an tale

smach, to rstats
@smach@fosstodon.org avatar

The {ggautomap} 📦 “provides geometries that make use of cartographer, a framework for matching place names with map data. With ggautomap your input dataset doesn’t need to be spatially aware: The geometries will automatically attach the map data (providing it’s been registered with cartographer).”
https://cidm-ph.github.io/ggautomap/index.html
By Carl Suster, on CRAN
@rstats

Mehrad, (edited ) to random
@Mehrad@fosstodon.org avatar

#!/usr/bin/env Rscript

License: Share and Enjoy

Ult.QoL <- function(){
require("towel")

message("Don't panic!")

"Six by nine. Forty two. That's it. That's all there is."

return(6*9)
}

If( Ult.QoL() == 42 ){
message("I always thought something was fundamentally wrong with the universe.")
}

thartbm, to random

question (or just really): I want some goodness of fit thing for an orthogonal distance regression (or total least squares regression). Since this can apparently be done by taking the first principle component (https://stats.stackexchange.com/questions/13152/how-to-perform-orthogonal-regression-total-least-squares-via-pca) we were thinking that Rsquared = 1 - ((sum(eigenvalues)-max(eigenvalues) / max(eigenvalues)) but we're not sure.

Apparently we could also get a t-statistic or a chi-squared value: https://stackoverflow.com/questions/21395328/how-to-estimate-goodness-of-fit-using-scipy-odr

Does anyone have any opinions about this? @lakens maybe?

djnavarro, to random

I quite like the colours in this one

danirabbit, to random
@danirabbit@mastodon.online avatar

I’m done cross-posting @elementary to Twitter. I really hoped it would get better, but with the latest news of Elon promoting Ron DeSantis’ presidential run, I’m done. It’s become a far-right social network no different from Parlor or Truth Social and I won’t be a part of it.

djnavarro,

@danirabbit Big hugs. I left 20K followers in the world behind over there when I made the same call a while back. It’s scary. I hope folks are supportive. ❤️

smach, to rstats
@smach@fosstodon.org avatar

The {pins} 📦 now supports reading and writing parquet files! 🎉Via @juliasilge
https://posit.co/blog/announcing-pins-1-2-0/

@rstats

Drmowinckels, to random
@Drmowinckels@fosstodon.org avatar

I'm at the documentation driven development stage of an package of mine. I swear, I get the most important bugs out during this phase.

ingorohlfing, to rstats German
@ingorohlfing@mastodon.social avatar

When you struggle with theme()-arguments in {ggplot2}, you may like {ggeasy}, offering shortcuts to plot customization https://github.com/jonocarroll/ggeasy (worth visiting just bc of the hilarious cartoon)
I am skeptical when a package promises to make plotting easier because you have to remember the arguments you are looking for in either case. Here, however, I can see the added value for some arguments @rstats

mccarthymg, to random
@mccarthymg@fosstodon.org avatar

New blog post looking at package contributor statistics on GitHub: https://tidytales.ca/posts/2023-05-10_r-developers-github/

This time I try to answer questions like:

  • How many packages are hosted on GitHub?
  • How many people have contributed to them?
  • What does the network of people with common package contributions look like?
  • And much more!

There are also interactive {gt} tables so you can browse contribution and package statistics; and I’ve shared the data so you can explore your own questions. Enjoy!

mccarthymg,
@mccarthymg@fosstodon.org avatar

This is a follow-up to my post two weeks ago looking at package developer statistics on CRAN: https://fosstodon.org/@mccarthymg/110306605466215008

meghansharris, to random
@meghansharris@fosstodon.org avatar

The goal was to learn about applying splines to a circle for the polygon chapter, but splines are too hard for my brain right now, so this resulted instead. Forever searching for less computationally heavy ways to make space 🌃 in w/ geom_polygon() & geom_point()

mjskay, to random

The package is now on CRAN!! https://mjskay.github.io/ggblend/

ggblend is a small algebra of operations for blending, copying, adjusting, and compositing layers in ggplot2

One problem it solves is making plots independent of draw order: e.g. by using commutative blends, like "lighten" or "multiply"

Two versions of a scatterplot of two partially-overlapping groups (a and b). Each version has a different draw order: a then b or b then a. Commutative blends (lighten and multiply) are used to ensure that the final plot output is independent of draw order.

debruine, to random

I've made a lightweight glossary package for quarto and R Markdown documents. You just tag words in your text like r glossary("term") and create a glossary table at the end of the section with glossary_table(). The definitions can be set in each glossary() function, or pulled from a YAML file.

I'm hoping to submit to CRAN soon, but would love if anyone had time for a quick test and feedback.

https://debruine.github.io/glossary/

djnavarro, to random

I wrote a thing. Again. I'm sorry. But also, the santoku package is a very nice solution to a problem that some of us have. Discretising a continuous variable is weirdly painful, and it's nice to have computational tools that get out of your way and let you think about what you want to do with your data

https://blog.djnavarro.net/santoku/

sharoz, to random

Helped someone debug some tidyverse data processing issues. It turns out "NA" was a legitimate code used in their data and readr by default interprets it as NA, not a string. Careful folks!

Edit: for anyone who doesn't know, read_csv() has an na parameter. The default is na = c("", "NA"). Setting it to na = "" fixed the issue.

datamaps,

@odr_k4tana @sharoz
in some ways the raise of the sect has funnelled as side effect a general less knowledge of When I see people call readr::read_rds instead of readRDS I just despair

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • osvaldo12
  • magazineikmin
  • vwfavf
  • thenastyranch
  • Youngstown
  • slotface
  • Durango
  • ngwrru68w68
  • rosin
  • kavyap
  • tsrsr
  • PowerRangers
  • DreamBathrooms
  • Leos
  • khanakhh
  • hgfsjryuu7
  • cubers
  • everett
  • cisconetworking
  • InstantRegret
  • mdbf
  • tacticalgear
  • ethstaker
  • tester
  • modclub
  • GTA5RPClips
  • anitta
  • All magazines