terence, to random
@terence@fosstodon.org avatar

Trying something different. Again. A map of Japan's shinkansen network as of 2015. If you know an updated source, please let me know. Like the Interstate 5 map, the camera angle and hovering lines may give the impression that they are off; they are not. 😅

#rayshader adventures, an #rstats tale

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 #tidyverse sect has funnelled as side effect a general less knowledge of #rstats When I see people call readr::read_rds instead of readRDS I just despair

odr_k4tana,

@sharoz @datamaps and that's exactly why I hate pnc apps. They restrict more than they enable in the grand scheme of things. SPSS was the same. Think about stepwise regression...I'm pretty sure SPSS kept enabling this nightmare by making it easy to do.

yutannihilation, to random

Since it was super tough to understand how R's protection mechanism can work with Rust, I wrote a blog post before I get burned out completely🔥 #rstats

Wannabe Rstats-fu - R, Rust, Protect, And Unwinding
https://yutani.rbind.io/post/r-rust-protect-and-unwinding/

yutannihilation,

Sorry, after having some rest, I found I wasn't sane. I wrote a completely wrong conclusion... Fixed now. (In short, panic!() is unavoidable)

yutannihilation,

I wrote that panic!() is unavoidable to handle R errors on Rust, but I found I was wrong. Here's a late update:

Wannabe Rstats-fu - Don’t panic!, We Can Unwind On Rust #rstats
https://yutani.rbind.io/post/dont-panic-we-can-unwind/

debruine, to random

I'd totally forgotten about this quirk of functions: arguments are not evaulated until they are used, so if argument b defaults to the value of argument a, you need to use argument b in the code before you make any changes to a (or of course don't change a)

((I spent half an hour debugging something due to this today))

x <- function(a, b = a) {
a = 1
return(b) # first use of b sets the value b = a = 1
}

x(2) # returns 1

y <- function(a, b = a) {
b # sets the value of b = a = 2
a = 1
return(b)
}

y(2) # returns 2

seanfobbe, to politicalscience German

🔔 NEU 🔔 Wie kann ich als Jurist:in in Legal Data Science einsteigen? Ich habe dafür eine Materialsammlung erstellt - jetzt online!

Materialsammlung: https://seanfobbe.com/de/einstieg-legal-data-science/

✅ Kurzer Überblick
✅ Artikel zur Einführung
✅ Podcast-Episoden
✅ Einführungen und Nachschlagewerke zum Programmieren
✅ Links zu freien juristischen Datensätzen

@rstats @politicalscience @OpenScienceFeed @OpenScienceDeutschland

smach, to rstats
@smach@fosstodon.org avatar

“Introduction to Quarto for R Users” - @NHSrCommunity presentation by Filippo Cavallari, data science lecturer with the UK Office for National Statistics.
Video: https://youtu.be/8nPfCUKPnBE
Slides: https://filebb.github.io/Intro_Quarto/#/title-slide
#rstats #QuartoPub #Quarto @rstats

dickoa, to random

#rstats package {crul} 1.4 is on CRAN. It comes with many new features, I'm really excited about retry on Async requests. Thanks again @sckottie for the all the work on this package.

milesmcbain, to random
@milesmcbain@fosstodon.org avatar

A colleague has been sending benchmarks after he essentially added arrow::to_duckdb() to our {dplyr} pipelines and my mind is being blown. Exciting times! #rstats

jsonbecker,

@milesmcbain for sure! Arrow has done a great job with this too, and the R community standardizing around the same API (and ability to dispatch like that) is killer.

jsonbecker,

@milesmcbain but in many ways, that's the argument I'd make for duckdb + SQL

djnavarro, to random

A couple of blog posts on pharmacokinetic models that I hadn't gotten around to sharing before:

https://blog.djnavarro.net/non-compartmental-analysis/

https://blog.djnavarro.net/stan-ode/

The first one talks about non-compartmental analysis and has some very simple R code, the second one dives a little deeper and talks about compartmental models - which often require you to use an ODE solver in the model - in Stan and R.

I'm still learning pharmacokinetics so they're a little rough around the edges

#rstats

RConsortium, to random
@RConsortium@fosstodon.org avatar

Maëlle Salmon, Software Engineer, part-time with rOpenSci, shares about the online book, HTTP Testing in R, co-authored with Scott Chamberlain. The HTTP book is a central place reference for developers of R packages accessing web resources. ➡️ https://www.r-consortium.org/blog/2023/05/15/better-understanding-your-tools-choices-online-book-http-testing-r

djnavarro, to random

This mornings artistic efforts weren't super successful, but it did produce one or two nice pieces. I like this one, at least

gvwilson,
@gvwilson@mastodon.social avatar

@djnavarro Brings back fond memories of Apollo-era photographs of snow-capped Lunar peaks. It's a pity the ⬛⬛⬛⬛⬛⬛ later redacted them from the timeline.

brodriguesco, to python
@brodriguesco@fosstodon.org avatar

Dear followers, what new technologies, or packages, programming languages, statistical methods, etc, are you learning ?

Hard mode: nothing GPT related

datamaps,
mjskay, to random
juliasilge, to programming
@juliasilge@fosstodon.org avatar

I'm excited to be teaching a workshop at on how to deploy and maintain models with vetiver! 🏺

@isabelizimm will be joining me, and you can "choose your own adventure" with either or . Registration is at https://pos.it/conf

https://youtu.be/jwbmxVuo63M

thoughtfulnz, to random
@thoughtfulnz@mastodon.nz avatar

I asked Bard how to read in a .mseed file into

If the seismology package existed and worked in this way I would be interested. But in terms of getting up and running with this specialist binary file, I would have been better (had I not known my options before hand) to use a more traditional source that restricted itself to indexing websites rather than making up convincingly communicated answers.

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