Questions tagged [r-distill]
21 questions
4
votes
1 answer
adjust figure size/placement in a distill document
I'm trying to put a small image into a distill document as part of a distill-based web site but having trouble with the placement (because I have a terrible mental model of what distill is doing and am not a CSS wizard). I would like the picture to…

Ben Bolker
- 211,554
- 25
- 370
- 453
4
votes
2 answers
Rmarkdown image gallery
Anyone know of any image gallery packages for Rmarkdown or a good way to create a gallery? I have just started to experiment with some vanilla code, but there is a long way to go. Just wanted to check with the community if I am missing some known or…

mindlessgreen
- 11,059
- 16
- 68
- 113
3
votes
1 answer
GitHub: How to get `utteranc.es` to work for website discussion
My website https://friendly.github.io/HistDataVis/ wants to use the seemingly light weight and useful discussion feature offered by the https://github.com/utterance app.
I believe I have installed it correctly in my repo,…

user101089
- 3,756
- 1
- 26
- 53
2
votes
0 answers
Is assignInNamespace() the correct solution for errors rendering distill with data.table?
Using the distill package and Rmarkdown for writing a blog, when rendering the .Rmd file I get errors when code chunks include data.table := and ., but not functions such as data.table(). The errors occur when the YAML header states draft: false…

Richard Layton
- 116
- 5
2
votes
1 answer
How to add code folding to paged_table and kable outputs in distill article in R
Thanks to Martin Schmelzer we have a wonderful solution to hide/show outputs from code chunks in R markdown HTML documents. It also works well with distill articles made from the distill package in R. I was hoping if it could be extended to…

bukkad
- 23
- 4
2
votes
2 answers
Error message when trying to build website using distill: invalid version specification
I have a distill website. When I try to hit "Build Website" using RStudio I get this error message:
Error: invalid version specification '2021.09.0+351' Execution halted
Exited with status 1.

Andrés Lagerlöf
- 83
- 9
2
votes
1 answer
Cannot render distill article in a targets pipeline
I'm new to targets ecosystem. I could not create a distill article from my targets pipeline although it works when I set the output to html_document in yaml. I have tried googling but couldn't find anything useful. Any help would be appreciated.
My…

Zaw
- 1,434
- 7
- 15
1
vote
0 answers
Add a submenu to a distill rmarkdown website?
I am creating a distill website using rmarkdown and would like to add a submenu in the navigation bar. I found this feature request/issue on GitHub but have not been able to find a solution.
With the below _site.yml and index.Rmd the submenu text…

selene
- 394
- 5
- 17
1
vote
1 answer
Quarto equivalent to "exclude:" YAML command in distill
In R, I am moving a distill website to quarto website. In distill, I can prevent all the Rmd documents in a directory called "internal" from being knitted by adding this to the _site.yml
exclude:
- internal
The same trick does not work in quarto.…

David Kane
- 363
- 1
- 2
- 8
1
vote
1 answer
How to change the colours for the list of TOC contents in a Distill article in R, using the CSS file
I'm still very new to this so I'm not sure if it's a R issue or a css issue. I'm trying to change the colour of the elements listed in my table of contents in a distill article. Specifically it is these elements I'm trying to change:
What would…

D.C. the III
- 340
- 3
- 14
1
vote
1 answer
Remove space between top of photo and navbar on distill website postcards
I have built a website -- j-dunning.net -- using distill for R Markdown. Although I can tweak the CSS code for the website generally, how can I tweak the postcard landing page in isolation?
I would specifically like to remove of the space between…

Jamie Dunning
- 153
- 1
- 9
1
vote
3 answers
Theorem environment not rendering or cross-referencing in distill
I'm trying to write a distill::distill_article blogpost which requires the use of LaTeX math environments e.g. theorem, lemma, proof etc.
I have tried to follow these instructions and also these instructions but am unable to render the theorem…

user4687531
- 1,021
- 15
- 30
1
vote
1 answer
Why does my table of contents specifications not work properly? From Distill for R Markdown
Thank you for your help!
I am having troubles with getting the table of contents (toc) into my Rmarkdown
I have set up the document with the following YAML.. and according to https://bookdown.org/yihui/rmarkdown/html-document.html and…

Kamau Lindhardt
- 79
- 1
- 8
1
vote
0 answers
How to move catrgory labels under time labels in a distill blog
The distill package in r allows to add categories/labels for posts and they will show in the post listing page.
But their default position is under the title of each post, shown as below:
default position
But I want to move these category labels…

L.Clive
- 13
- 3
0
votes
1 answer
Creating a user/password login for Distill and/or Quarto website in R
I am currently creating a distill website through R (hopefully to transition to Quarto, but still using distill). Currently, the R code is connected with GitHub to publish the website, and this will mainly be for internal use within my department.…

braunrs
- 1