The new code can be used with pdfLaTeX or the Unicode engine luaLaTeX. The latter is the preferred engine recommended for new documents.
Agreed. Since we have to do it ourselves I wonder if this is useful: latex3.github.io/tagging-proj... ; github.com/orgs/quarto-... ... looks like the next Quarto release (now at pre-release 1.9) will have some useful stuff? prerelease.quarto.org; github.com/quarto-dev/q...
16.02.2026 19:50 β π 0 π 1 π¬ 1 π 0
Image from a 14th c. Italian manuscript of the Inferno in the Bodleian library at Oxford https://digital.bodleian.ox.ac.uk/objects/ab35e336-a471-4cf0-a9a7-592dbb8695d8/surfaces/cba2ff2c-ecd7-44e3-907b-1bd6d0376daf/ : Dante and Virgil are at the right of the image, facing left towards the minotaur who is running down a hill. In this version the head and torso are a man's, the body is the bull's.
Did you know there was some confusion during the Medieval and Renaissance periods about which end of the Minotaur was bullish and which was manly?
scifi.stackexchange.com/a/294815/35859
13.02.2026 21:13 β π 4 π 0 π¬ 2 π 0
Has anyone tried vibe (LLM) translating Matlab to Julia? How did it go?
09.02.2026 20:56 β π 3 π 0 π¬ 0 π 0
that's @gsimpson.bsky.social , @noamross.net , @ericjpedersen.bsky.social , and fediscience.org/@millerdl@ma... looking down from the top of the heap, right?
03.02.2026 16:39 β π 6 π 0 π¬ 1 π 0
What's the best open book for data science from a base-R perspective? #rstats
02.02.2026 17:19 β π 9 π 6 π¬ 8 π 0
Phylogenetic random effects
PS you should also check out the capabilities of the `gllvm` package: cran.r-project.org/web/packages... @vdveenb.bsky.social
29.01.2026 00:07 β π 2 π 0 π¬ 0 π 0
udm14 β Get this Extension for π¦ Firefox (en-CA)
Download udm14 for Firefox. Adds a Google search engine that includes the udm=14 parameter
for lazy Firefox users like me who want to suppress Google's AI responses to search with the least amount of effort ... addons.mozilla.org/en-CA/firefo... (I didn't count, but I think it was fewer than 5 mouse clicks)
28.01.2026 23:06 β π 5 π 0 π¬ 0 π 0
GLMMs in RTMB
If someone is feeling a bit ambitious :-) a basic version of this could be hacked up in RTMB ... see bbolker.github.io/bbmisc/rtmb_...
28.01.2026 23:04 β π 1 π 0 π¬ 1 π 0
Multivariate modeling via mixed models
Not yet ... if all of your variables are of the same type (e.g. Gaussian, Poisson, etc.) you can do it by "melting" the data into long format, e.g. mac-theobio.github.io/QMEE/lecture... . Multi-type models are technically fairly straightforward; the hard part is the user interface ...
28.01.2026 22:59 β π 1 π 0 π¬ 2 π 0
datamint.ing
check it out: datamint.ing
28.01.2026 18:30 β π 0 π 1 π¬ 0 π 0
the heavy-metal ΓΌmlaut and the New Yorker diΓ«resis (yes, I know ...)
27.01.2026 17:46 β π 2 π 0 π¬ 0 π 0
OpenAlex
I think openalex.org is trying to get there ... although I feel like it's being used more for bibliometrics ... ?
26.01.2026 21:09 β π 5 π 0 π¬ 1 π 0
but wait, what about placement on premium squares (double/triple {letter, word} scores) ... ? @stephenbheard.bsky.social
26.01.2026 12:57 β π 1 π 0 π¬ 0 π 0
following your last example: do people use phylogenetic information in their predictive models of mushroom toxicity ... ??
26.01.2026 01:14 β π 1 π 0 π¬ 1 π 0
Left panel, a salt shaker containing multiple pepper packets, labeled 'x'. Middle, shaker containing one packet, labeled 'x[0:1]'. Right, top, one pepper packet, labeled 'x[0]'. Right, bottom, pile of pepper grains, labeled 'x[0][0]'
BTW, I got confused: the picture in the thread above is @hadley.nz's original R version. I made this Python version at some point.
24.01.2026 15:28 β π 1 π 0 π¬ 0 π 0
R was written in the 1990s by statisticians; its development model is conservative; & 64-bit integers are well implemented in the `bit64` package (which the OP is using). Things only get weird in edge cases. For performant code outside R's usual scope you're prob interfacing with C++/Rust anyway.
23.01.2026 23:51 β π 0 π 0 π¬ 0 π 0
Whatβs happening?
dd[["x"]] and dd$x return the vector integer64, so sum() dispatches to bit64βs method for the Summary group generics (sum.integer64), which knows how to add 64βbit integers correctly. Result: 55 β
dd["x"] returns a one-column data.frame (i.e., a list). When you call sum(dd["x"]), youβre now calling sum() on a data.frame, not on an integer64 vector.
For data.frames, base R uses the Summary group generic method Summary.data.frame (in base). Internally, this method coerces the data frame to something vector-like (e.g., via as.matrix() or unlist() pathways) before applying the sum generic. In doing so, it strips the integer64 class, and the remaining underlying storage is misinterpreted.
integer64 (from bit64) is not a native R type; itβs a classed vector with an underlying storage that does not map 1:1 to base numeric types. When the class is stripped by the data.frame method, the bytes get reinterpreted (e.g., as doubles) instead of being properly converted. Thatβs why you see a tiny, nonsensical denormal-like value such as 2.717361e-322 β itβs the result of interpreting the 64βbit integer bits as an IEEE-754 double, not the sum of actual numbers.
MS Copilot (ugh) gives a useful answer here, if you ask it carefully:
23.01.2026 22:37 β π 4 π 0 π¬ 1 π 0
Seems to be here, but I'm not sure I understand what's going on: github.com/wch/r-source... (in any case the tl;dr is "use double brackets")
23.01.2026 22:12 β π 4 π 1 π¬ 1 π 0
(2/3) as for why `sum(list(<integer>))` returns a sensible answer and `sum(list(<int64>))` doesn't, I think that would require some digging into the guts: `sum` is `function (..., na.rm = FALSE) .Primitive("sum")`, which means going into the C code, e.g. `pryr::show_c_source(.Primitive("sum"))`
23.01.2026 22:12 β π 1 π 0 π¬ 1 π 0
> library(bit64)
> dd <- data.frame(x = as.integer64(1:10), y = as.integer(1:10))
> sum(dd$x)
integer64
[1] 55
> sum(dd["x"])
[1] 2.717361e-322
> sum(dd[["x"]])
integer64
[1] 55
> sum(dd$y)
[1] 55
> sum(dd["y"])
[1] 55
> sum(dd[["y"]])
[1] 55
>
A multi-panel figure. Left: 'x'; a pepper-shaker containing a collection of paper packets of pepper. Middle: 'x[1]': a pepper-shaker containing a single pepper packet; Right, top: 'x[[1]]': a single pepper packet; Right, bottom: 'x[[1]][[1]]': a pile of grains of pepper
(1/2) It's definitely the interaction of single-brackets and integer64. Single square brackets return a list, double square brackets (generally safer/best practice!) return a vector. (Left-hand image is a modified version of a Python original by @hadley.nz, I think.).
23.01.2026 22:06 β π 5 π 0 π¬ 3 π 0
Starship Troopers: 1959. Forever War: +15 years (1974). Old Man's War: +31 years (2005). Present: +21 years.
21.01.2026 17:43 β π 8 π 0 π¬ 1 π 0
Through an understanding of the ecophysiological and biochemical mechanisms of adaptation that describe the potential for a plant to persist in a habitat or location, one can better assess the impact of an altered environment on future plant performance and restoration outcomes. [yikes!]
21.01.2026 16:16 β π 1 π 0 π¬ 0 π 0
grepv("^c", rownames(installed.packages())) |> Filter(f = \(x) x %in% qdap::GradyAugmented)
annals of yak shaving: troubling remembering the name of the amazing github.com/cynkra/const... pkg (human-readable `dput()`). I remember (1) I have it installed (2) the names starts with "c" and (3) is an English word ...
20.01.2026 19:07 β π 1 π 0 π¬ 0 π 0
Hmm. What's the rationale for using group_by/summarize/ungroup with collabs? I'm trying to switch to `.by` and especially trying to teach with `.by`: shorter, safer [leftover groupings can cause problems]); cases where you want to `group_by()` to do several operations in a row are rarer ...
20.01.2026 15:41 β π 3 π 0 π¬ 1 π 0
Writing R Extensions
Writing R Extensions
This has to do w/ whether `LazyData` is set cran.r-project.org/doc/manuals/... 1.1.6:
The data subdir is for data files, either to be made available via lazy-loading or for loading using data(). (The choice is made by the βLazyDataβ field in the DESCRIPTION file: the default is not to do so.)
19.01.2026 16:20 β π 4 π 0 π¬ 0 π 0
Anyone have a good resource in comparing bootstrapping and permutation testing? They both do some resampling, but their philosophies are very different.
15.01.2026 18:11 β π 5 π 3 π¬ 2 π 0
R code
library(microbenchmark); library(ggplot2)
set.seed(1001)
n <- runif(1e6, 0, 2)
m1 <- microbenchmark(
pmax(n,1),
pmax.int(n,1),
{n[n<1] <- 1}
)
autoplot(m1)
A 'microbenchmark' plot of pmax(), pmax.int(), and n[n<1] <- 1 as in the previous code. medians are pretty close together, bulk of the results are between 1.5 and 3 milliseconds for all three methods. maxima are larger (longer tail) for pmax.int and sub-assignment
Hmm, I'm not seeing much difference. What am I missing?
12.01.2026 23:12 β π 0 π 0 π¬ 1 π 0
PhD candidate @ Melbourne Uni | Quantitative Ecologist | Occupancy models, bioacoustics, conservation tech | π³οΈββ§οΈπ³οΈβπ | she/her
Animal social behaviour and cognition.
https://caglarakcay.wordpress.com/
https://scholar.google.com/citations?user=sZ4qvtwAAAAJ&hl=en
Health Data Science | π DataViz | πβ¨οΈ | πΎ
LinkedIn: linkedin.com/in/darakhshannehal
GitHub: github.com/darakhshannehal
Quantitative Biologist. Happiest on a bike or knee-deep in peat (Ottawa, Canada).
I like theory π¦ | project leader at University of Bern | PhD grad from the Instituto Gulbenkian de CiΓͺncia π³οΈβπππ·π΄
Senior Fellow at the American Immigration Council. Commenting generally on immigration law and policy. Retweets =/= endorsements, views are my own.
I love posting about #rstats and texas politics
https://linktr.ee/alejandro.hagan
Dog Mom to Anderson & Truman, Head of Creative & Managing Executive Producer at Cool Zone Media. She/Her.
https://www.coolzonemedia.com/
"if that's the strangest thing you ever seen in your life, I'd say you haven't done much"
Postdoc @univie.ac.at
Researches the Milky Way & star clusters with machine learning
Founded the Astronomy feeds (@astronomy.blue)
π³οΈβπ π³οΈββ§οΈ (she/her), β
Website: https://emily.space
GitHub: https://github.com/emilyhunt
Sugar, Spice, Smudge and Saja, and occasionally guest animals and humans.
Ukrainian, Economist, Postdoctoral Researcher at KSE, organizer of Workshops for Ukraine series, #RStats
https://sites.google.com/view/dariia-mykhailyshyna/main
Associate Professor at MIT EECS, LIDS.
Dad of two, Professor, Lister Research Fellow and Wellcome Investigator at the John Innes Centre. Interested in bacterial chromosome organization & segregation, plasmids, and phages.
www.tunglelab.org
Assistant Professor, UH MΔnoa, HawaiΚ»i Institute of Marine Biology and Principal Investigator of HIMARC
Professor of Paediatric Microbiology, University of Oxford
Director, Cambodia-Oxford Medical Research Unit, Angkor Hospital for Children
https://www.ndm.ox.ac.uk/team/paul-turner
UC Berkeley Postdoc interested in the ecological and evolutionary impacts of bacteria-phage interactions.
Canadian epidemiologist and causal inference person at Erasmus Medical Center. Big fan of Northern Expsoure and Car Talk.
jeremylabrecque.org
Currently on partial medical leave and Associate professor, Dept of Earth, Energy, and Environment, University of Calgary; co-director http://NZERI.ca; energy/carbon/innovation policy + bikes.
Naturalist, writer, artist, and educator with a Ph.D. in Ecology. I make interpretive signs, illustrations, murals, and books. Sometimes, I chase polar bears and belugas. #scicomm #sciart http://www.discoversecondnature.ca