#RMarkdown

kernpanik 🐾 🕊️ ☮ 🖖kernpanik@chaos.social
2025-12-11

Performing some quick statistical analyses in classic #RStats and neatly “knitting” them into a PDF using #RMarkdown, #knitr, and #MacTeX #texLaTeX.

Call me old-fashioned, but I really enjoy this workflow. :awesome:

#OpenSource #FOSS #statistics

Screenshot of two application windows of the Rstudio suite. One window is split into four sections that contain a script, a console, the environment with one data frame. The fourth section is hidden behind a second window containing a PDF with text and a boxplot figure.
2025-12-01

R is wonderful: Creating a Supplement PDF full of summary & regression results tables, and estimated marginal mean plots, all completely auto-generated by the R Markdown code itself with no need for any manual post-modifications. 'gtsummary', 'ggplot2' rock! #Rstats #RMarkdown

2025-10-24

Next week I get to present an #RStats talk on writing code to be run by people with no programming experience that requires some interactivity.

Have some examples of parameterised #RMarkdown documents; of #Shiny and using source to call more complex code without overwhelming them.

I also plan on concentrating on the importance of training these staff on the differences between errors, warnings and messages (which are unhelpfully similar in appearance in R).

Any other suggestions? (1/2?)

Switching from #rmarkdown and #rdatatable to #quarto and #polars is a bit cumbersome. I just want to compile a document with tables to pdf.

If I print a polars table, I get the data type with it. If I convert it to pandas df, I get an index. If I set_tbl_hide_column_data_types, my strings get quotes. Is there no #knitr kable equivalent in #Python /Quarto?

So far, I have been a very enthusiastic user of #rstats, #rdatatable , #rmarkdown and #ggplot2 in #RStudio . I am looking for an equally effective, modern #python based setup . So far, I think I will go for #polars, #quarto and #plotnine in #vscode with #uv as package manager . Does anybody have suggestions about pitfalls in switching or advice for the setup? Or are there potentially better alternatives?

2025-09-07

Interactive resizing of picture and table content in Rmd and Quarto: r2resize.obi.obianom.com/index #rstats #quarto #rmarkdown

Darcy R 🇨🇦geodarcy@yeg.bike
2025-08-02

@robyn If I stop videos and go back to a website or blog, I’ll get your advice on #Hugo through #RMarkdown as that seems like a fun route. I take all the advice I can get from people with actual #skillz. My two coworkers with PhDs in ML have me using PyCharm for my air quality project and another good coworker got me to dual boot my desktop into #Mint running on a USB. Wish I used a bigger USB as Mint is nice in my limited use so far

Demordemor
2025-07-21

📽️ Just dropped a new video on R Markdown — your ultimate tool for blending code, text, and visuals into beautiful reports!

🧠 Perfect for data analysis, academic writing, or automated reporting — and best of all, it’s 100% open-source.

📊 You can even create presentations, so you can ditch Excel, PowerPoint, and Word — all in one reproducible workflow.

🎥 youtu.be/cWbG26gKOpM

2025-06-21

Dear #rstats - and #rmarkdown -experts,

I am experiencing a strange rendering bug, that only occurs when R is running non-interactively. Additionally, it only happens when a chunk returns a plain list and only for lines with a length around 80 chars.

Using cat() is a work-around.

But I'd be interested in the cause of this anyway.

If you want to look, you can find a reprex here:

stackoverflow.com/q/79673637/1

PS: Sorry for cross-posting

devSJR :python: :rstats:devSJR@fosstodon.org
2025-06-04

@tinyspheresof @rkward Sorry for the late response. Currently, there is no such functionality in #rkward, except that one in the screenshot.
But let me tell you about an upcoming feature called “Code navigation”. It is enabled in the latest AppImage (cdn.kde.org/ci-builds/educatio)
It helps you to very quickly navigate the R and #RMarkdown scripts. It will address your problem directly.

Screenshot of RKWard featuring the new Code Navigation tool highlighted in yellow in the top right corner. A red arrow points from the highlight to an example of RMarkdown syntax highlighting within the editor window. The interface includes various menus and panels, with the interface emphasised at the bottom right.

A first today: I changed the citation style in my #rstats #Rmarkdown doc, and it was easy and it worked! Thanks to Nicolas Tierney's "Rmarkdown for scientists" rmd4sci.njtierney.com/citing-artic... and github.com/citation-sty.... Save the csl code in a file in your R project and add a YAML line. 😎

13 Citing Articles & Bibliogra...

Arjan Boltjestinyspheresof
2025-05-15

I'm trying out on my new install. Is there any way in an script to highlight the code blocks/chunks in the script editor? They now have the same background as the rest of the script, and don't really stand out.

The three backticks / graves at the start and end of the code block do have a different background colour, but not the code in between.

@rkward

2025-05-14

Interactive resizing of picture and table content in Rmd and Quarto: r2resize.obi.obianom.com/index #rstats #quarto #rmarkdown

2025-04-21

Как я за год написал шесть больших научных статей и несколько маленьких

Без «литературных негров» и чатГПТ — личный рассказ об инструментах, технологиях и приёмах, которые помогли мне не вылететь из аспирантуры и догнать коллег. Открытые данные, Python, R, RMarkdown, Quarto, git и немного ИИ в помощь исследователю.

habr.com/ru/articles/898038/

#научные_исследования #научная_работа #научные_статьи #открытые_данные #публикации #rmarkdown #deepl #rstudio #git #r_lang

Looking for tips on how to love #julialang Pluto.jl. So many people enjoy it and I just don't get it. Likely just me as I also dislike #Jupyter notebooks and prefer the "see all and be reproducible" style of #RMarkdown and #Quarto. Why F1 to see keyboard shortcuts. Why clunky Path/URL navigation?

Francisco Rodriguez-Sanchezfrod_san@ecoevo.social
2025-03-09
---
title: "Using 'grateful' with Rmarkdown: separate software bibliography"
output: 
  pdf_document:
    pandoc_args: ['--lua-filter=multibib.lua']
bibliography: 
  main: main-refs.bib
  software: grateful-refs.bib
citeproc: false
---

```{r echo=FALSE}
# Download pandoc filter if not available
# https://github.com/pandoc-ext/multibib
if (!file.exists("multibib.lua")) {
  download.file(url = "https://raw.githubusercontent.com/pandoc-ext/multibib/main/_extensions/multibib/multibib.lua", 
                destfile = "multibib.lua", 
                mode = "wb")
}
```


Here we cite a paper [@smith_software_2016].

Now we cite R packages:

```{r}
library("ggplot2")
library("visreg")
```

```{r echo=FALSE}
grateful::cite_packages(output = "paragraph", pkgs = "Session", out.dir = ".")
```


# References

::: {#refs-main}
:::

# Software

::: {#refs-software}
:::
Francisco Rodriguez-Sanchezfrod_san@ecoevo.social
2025-03-09

Writing manuscripts in #Quarto or #Rmarkdown?

Here's how to easily generate an appendix citing the #rstats packages used with {grateful}

pakillo.github.io/grateful

1/

2025-01-18

Interactive resizing of picture and table content in Rmd and Quarto: r2resize.obi.obianom.com/index #rstats #quarto #rmarkdown

Cédric Vidonnecvidonne@fosstodon.org
2025-01-17

For branded charts, check out {unhcrthemes}, shared yesterday! Together with {unhcrdown}, it forms a complete ecosystem for UNHCR data viz and reporting.

🔗 cran.r-project.org/web/package

#rstats #rmarkdown #dataviz

James Hawley, PhDjrhawley@scholar.social
2025-01-16

@kupac I have all these same concerns about notebooks and more. I find #rmarkdown and #quarto much better than Jupyter, but they still suffer from similar problems.

Unless I am explicitly planning on compiling an HTML report, I tend to stay away from these literate programming tools.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst