@vincentab@fosstodon.org
@vincentab@fosstodon.org avatar

vincentab

@vincentab@fosstodon.org

Prof. Most tweets about R packages: marginaleffects, modelsummary, countrycode, WDI. Some tweets about political economy.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nrennie, to random
@nrennie@fosstodon.org avatar

A fantastic day at London conference today!

My slides on "Typst or LaTeX? Styling PDF documents with Quarto extensions" are available online 👀

Link to slides: https://nrennie.rbind.io/talks/satrdays-london-2024/slides.html

@jumpingrivers

vincentab,
@vincentab@fosstodon.org avatar

@nrennie Wow! Very nice slides. And so cool to see a tinytable example in the wild!

vincentab, to random
@vincentab@fosstodon.org avatar

{tinytable} is now available on CRAN! It's a dead simple and 0-dep📦to create beautiful tables in R. Check out the GIF below for a peek at the new "tiny plots" feature. In addition to TeX, PDF, MD, and HTML, we now support Word and PNG. Tutorials here: https://vincentarelbundock.github.io/tinytable/ [I promise this is my last tinytable post for a while]

video/mp4

vincentab, to random
@vincentab@fosstodon.org avatar

🚨 I'm excited to release the 𝚝𝚒𝚗𝚢𝚝𝚊𝚋𝚕𝚎 📦 for ! Convert R dataframes to beautiful tables in HTML, LaTeX, PDF, Quarto, Markdown, etc. Easy to learn; minimalist interface; concise syntax; ultra-customizable tables; and zero dependency. 🧵 https://vincentarelbundock.github.io/tinytable/

video/mp4

vincentab,
@vincentab@fosstodon.org avatar

Drawing simple---and beautiful---tables couldn't be easier. All you need to do is load the library and call tt(). If you are working in a Quarto or Rmarkdown document, the correct output format will be detected. Otherwise, you can pick the destination of your choice.

vincentab,
@vincentab@fosstodon.org avatar

To customize cells, rows, or columns, use the style_tt() function. The i argument identifies rows, and j columns.

vincentab,
@vincentab@fosstodon.org avatar

The group_tt() function creates spanning labels to group rows and columns. With just a few lines of code, we can create complex LaTeX/PDF tables like this one:

image/png

vincentab,
@vincentab@fosstodon.org avatar

tinytable gives you convenient access to the Bootstrap framework to customize the appearance of your tables. You can pass choose different bootstrap themes, style specific cells or rows with CSS, or define whole new CSS rules:

vincentab,
@vincentab@fosstodon.org avatar

For LaTeX tables, tinytable builds on the amazing tabularray package, which allows a bunch of ridiculous things:

vincentab,
@vincentab@fosstodon.org avatar

I promise: all of this is very easy to use! Check out the detailed tutorial on the package website. And leave a note or a bug report while you're at it ;) https://vincentarelbundock.github.io/tinytable/

vincentab,
@vincentab@fosstodon.org avatar

@Mehrad Yeah, that's one of the main reasons I developed this, actually. It's not quite 0-dep, because we rely on Bootstrap for HTML and some LaTeX packages & stack, but it felt pretty good to get rid of all R packages. I want to fix a couple of bugs and add a few more features, but will probably make an initial submission to CRAN in the next few weeks.

isabelizimm, to random
@isabelizimm@fosstodon.org avatar

no one:
literally not a single soul:
me: omg i should make a quarto website about that

vincentab,
@vincentab@fosstodon.org avatar

@isabelizimm Cool. I was thinking about trying this recently. It's a long shot, but I'll ask anyway: Have you found a good way to generate reference pages for an R package in Quarto, like in pkgdown?

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