Grilled Cheese

ExploreLog inSign up

Yihui Xie

@yihui.org

20 Following1.1k Followers

https://yihui.org

PostsRepliesMedia
@yihui.orgSep 28, 2026, 6:25 PM

Very cute! This reminds me of my useR! 2014 talk at UCLA, in which I also showed Gromit (as a "knitter") in the beginning :) github.com/yihui/knitr-...

@yihui.orgSep 22, 2026, 1:18 AM

Thanks! I'm aware of that, but I used gh-pages deliberately so I can check diffs between builds. The size hasn't bothered me yet since I rarely pull this branch. If it becomes a problem one day, I can force push and delete older commits.

@yihui.orgSep 21, 2026, 7:11 PM

Oh, his only open issue is about "out of office": github.com/ropensci/tar... which will be closed on Sept 30th! I'll try to close mine on 29th!!

@yihui.orgSep 21, 2026, 7:06 PM

After a massive cleanup of knitr issues/PRs in the past few days, I can finally stop being jealousy of Will Landau for his zero open Github issues in {targets}: yihui.org/en/2026/09/k... For the record, he has one open issue at the moment and so do I (debating with myself whether I should close it).

@yihui.orgSep 12, 2026, 3:32 PM

Yes, you can use it in Quarto, R Markdown, Shiny, litedown, and Jupyter.

@yihui.orgSep 11, 2026, 6:38 PM

working on R Markdown and knitr in 2026...

- yihui.org/en/2026/09/r...
- yihui.org/en/2026/09/k...

@yihui.orgSep 7, 2026, 12:27 AM

I'm very glad that the dev version of knitr helps! Actually the new version just landed on CRAN this morning :)

@yihui.orgSep 6, 2026, 7:00 PM

Oh I didn't know arf allows this. Just tried it and you are completely right---I'm able to go back to the beginning of the expression even if I'm on a continuation line. Thanks for the tip! Good job, @eitsupi.bsky.social! You've got a new sponsor on Github now :)

@yihui.orgSep 6, 2026, 4:03 PM

I battled with the dark side of me for days on whether I should support .Last.value in knitr/litedown. Some may feel relieved that the dark side didn't win.

@yihui.orgSep 6, 2026, 3:58 PM

That's very cool. By "Sweave/knitr inserts R output", I'm curious if you have some Typst magic (extension) to call Sweave/knitr inside Typst, or you are using the minimal .Rtyp support in knitr?

@yihui.orgSep 6, 2026, 3:54 PM

To clarify, all consoles/terminals do allow scrolling; problem is that when you're on the 2nd line: > data |> + f() # press up arrow from here and scroll up, it'd become: > data |> + data |> which won't work. There's no way to do "give me all previous lines and I wanna start over" in console

@yihui.orgSep 5, 2026, 4:47 PM

When I finished typing f() and realized I needed to assign this to a variable, I'd have to do: > data |> + f() -> x Or just run the code and then x = .Last.value

@yihui.orgSep 5, 2026, 4:45 PM

Most of time I also write code in editor instead of console. Sometimes I just type some quick code that's not meant to be saved so I type in the console. I wonder which console allows you to scroll up when you are in the middle of an expression? > data |> + f() # can't scroll up here anymore

@yihui.orgSep 5, 2026, 3:06 PM

I rarely use <- (sorry I'm a team "=" member), but I have used -> several times over the years when I typed some long multiline code in the R console and realized I needed to assign the whole thing to a variable, and it was too late to go back to the beginning to type x <- ... but ... -> x is handy.

@yihui.orgAug 21, 2026, 1:39 PM

I just came back from summer vacation, and would like to announce a tiny new R package I developed recently: {lt} yihui.org/en/2026/07/l...

yihui.orgThe lt Package: Lightweight HTML Tables for R (and Beyond) - Yihui Xie | 谢益辉Recently I have released a new package on CRAN: lt, short for lightweight tables (or less than). Its origin story is a small moment of shock. About two years ago a project required gt, so I ran &helli...
3
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 20:13:24 EDT