TIL the R language allows "." in identifiers. That makes code list(..., nm.rm=TRUE) a bit more understandable.
#rlang

Having gotten my head fully around R pipes, I feel I need to write an article about it before I forget the fiddly details:

|>, %>%, with(), lambdas, %$%, ...

there are a lot of clever tricks for edge cases! (The with() hack I should have figured out for myself though!)

Also, %$% -- the exposition pipe -- why didn't any of you tell me about this one!?!? You're slacking!

#rlang #datascience #stats #statistics #rprogramming #tidyverse #tidydata #Rpipes #pipes!

Fresh WIP piece of #Archaea #phylogenetics data for a collaborator.

Those barplot margins are driving me crazy - it's actually throwing off the immediate impression of the data! (pink bars are essentially all 1/2 or less of the orange bars, which is pretty important in context) I really need to buckle down and get to hand-coding my trees from scratch using #rlang or #julialang soon.

Hmm. How's Julia ecosystem for phylogenetic trees these days?

#microbiology #bioinformatics

Ok, why do people keep doing this:

library(tidyverse)
library(lubridate)

when the first call automatically loads the package in the second call? Am I missing something here?

I see this **everywhere**!

#rlang #rlanguage #tidyverse #lubridate

Finally sat down to try to get my head around `reshape()` after being told somewhere that `melt`/`cast` are old hat, `reshape` is the new hotness...the result?

Friendship ended with `reshape`, now me and #tidyr are besties, `pivot_longer`/`pivot_wider` ilu  #rlang #dataviz

Want to use {pak} as backend for {renv} actions? Set the variable RENV_CONFIG_PAK_ENABLED = TRUE https://github.com/rstudio/renv/issues/1210 #renv #pak #reproducibility #RLang
[pak] Use pak for package installation · Issue #1210 · rstudio/renv

Related issues: #1268 #1331 #1330 #1334

GitHub

Hello again, R . . .

R for sure has deficits (but so does python), but for exploratory data analysis, particularly ones heavy in statistics, R can sometimes shine. I still abhore passing variables into functions, but I get why for simple EDA one might want non-standard evaluation.

R is making a comeback:
https://www.infoworld.com/article/4102696/r-language-is-making-a-comeback-tiobe.html

#rlang

R language is making a comeback – Tiobe

Tiobe index of programming language popularity index has the R language for statistical computing back in its top 10.

InfoWorld
Dark times call for desperate measures, and with my career being a little hosed, I'm writing a book! It's about teaching R users to write code like software engineers do, and the hope is that I can use it partially as content marketing for my coaching offerings. Here's the first chapter: #R #R-lang

R the Software Engineering Way...
R the Software Engineering Way: Introduction and Chapter Zero | deadSimpleTech

It is worth noting from the very beginning that a software engineer's work doesn't start with writing code, but with setting up the development environment and the tools that they need to write code effectively. Good tooling can make the difference between you writing clean, tight, maintainable code on the one hand and creating an unmaintainable abomination on the other. This entire first chapter, then, is dedicated to setting up a development environment that lets you build things in R in a consistent, reproducible and easy to fix or revert way. We'll start with basic command line skills, move on to version control and then finally discuss containerisation and the setting up of a development container for your project.

deadSimpleTech

Heya R devs - did you know you can run all your favorite GitHub actions on Codeberg?

Codeberg is rolling out Forgejo actions - an (almost) drop-in replacement for GitHub actions, which means we can (almost) use `r-lib/actions` directly on a free and open source platform!

Just a couple tweaks are needed, and for your convenience I'm automatically mirroring r-lib/actions and applying those changes so they're ready to use.

https://codeberg.org/r-codeberg/r-lib-actions

#rlang #rstats #codeberg

r-lib-actions

A read-only mirror of github.com/r-lib/actions with minimal changes in order to support use as Forgejo Actions

Codeberg.org
@etiennebacher Jarl is working as an R linter in #HelixEditor now, thank you! https://jarl.etiennebacher.com/editors#helix #RLang
Editor support – jarl