Questions tagged [quarto]

Quarto is an open-source scientific and technical publishing system built on Pandoc

Quarto is an open-source scientific and technical publishing system built on Pandoc

  • Create dynamic content with Python, R, Julia, and Observable.
  • Author documents as plain text markdown or Jupyter notebooks.
  • Publish high-quality articles, reports, presentations, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more.
  • Author with scientific markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.

Website: https://quarto.org/

813 questions
4
votes
1 answer

Get plotly output inside Quarto output cell

I am writing a Quarto markdown file containing both Python and R code. With python, I have a bunch of lines that use Plotly to make interactive plots. However, instead of showing the charts in the output cell of the quarto file, my script always…
Ruchit
  • 336
  • 3
  • 16
4
votes
0 answers

How can I render a quarto book after setting date-format in YAML?

I am trying to create a quarto book in RStudio. When I add date-format in the YAML, the book cannot be rendered. When I remove the date-format field, I can render it successfully. A sample YAML specification (in _quarto.yml file of the project) is…
Eva
  • 663
  • 5
  • 13
4
votes
3 answers

Render quarto document with both R and python code

I'm using quarto html format to produce a document with both python and R code. The rendering was smooth until I added the first python lines of python code: import requests url = 'some/url' page = requests.get(url) The code works just fine without…
dzegpi
  • 554
  • 5
  • 14
4
votes
2 answers

customizing r quarto pdf output file name

How do I customize the filename of r quarto pdf document when I render? Before when I was using Rmarkdown I was using the following code in the YAML: --- title: "Some title" author: "First Last" date: "`r format(Sys.Date(), '%d %B, %Y')`" output:…
Shubham
  • 220
  • 2
  • 10
4
votes
1 answer

Quarto Revealjs presentation change Title, Author & Date position, font, size and colour

Hello people of Stack Overflow, Apologies for asking silly questions, I am a beginner and not looked at html or css in a decade. I recently discovered Quarto and think once I learn Quarto it will largely be quicker than using PowerPoint at work. I…
Dee1983
  • 93
  • 2
  • 8
4
votes
1 answer

Change title size and color in Quarto (html output)

I have a quarto file with an HTML rendering, and I want to change the size and color of the title, how should I proceed? Minimal example: --- title: "Cars" format: html --- ## MTCars ```{r} head(mtcars) ```
Maël
  • 45,206
  • 3
  • 29
  • 67
4
votes
1 answer

How to change title banner size in Quarto?

I have the below qmd file with quarto html option title-block-banner: true. How do I modify the size of the banner to reduce width? --- title: "Cars" title-block-banner: true format: html: code-fold: true page-layout: full …
apprunner2186
  • 217
  • 1
  • 6
4
votes
1 answer

How can I quickly run one line from a Quarto code chunk that I'm editing in RStudio?

I've just started using Quarto for first time in RStudio (I usually use Rmarkdown). In Rmarkdown, I could select a line from a code chunk and use Ctrl + ⏎ to evaluate it in the global environment. This was useful because it let test the behaviour of…
Captain Hat
  • 2,444
  • 1
  • 14
  • 31
4
votes
2 answers

Quarto Render not Rendering

I am trying out Quarto, I am using R version 4.2.1. When I go to RStudio, File -> New File -> Quarto Document and create a new document, when I try to render via the RStudio Render button, I get the error 'C:/Program' is not recognized as an…
Tumaini Kilimba
  • 329
  • 2
  • 12
4
votes
1 answer

Fail to replicate quarto elsevier template

I am currently trying to migrate from rmarkdown to quarto through rstudio platform. First step, I would like to create a scientific article based on elsevier template which could be found Text. However, I failed to replicate it. When I tried to…
4
votes
1 answer

How to add inline code to #| fig-cap: in quarto

Update: @harre. I encountered an issue. It works perfect with mtcars dataset. But when I try to use a loaded dataframe it says: Fehler in nrow(df_xxx) : Objekt 'df_xxx' nicht gefunden Ruft auf: paste -> nrow Fehler in yaml::yaml.load(meta, eval.expr…
TarJae
  • 72,363
  • 6
  • 19
  • 66
4
votes
1 answer

Using Markdown formatting in table using kable in quarto

Using quarto's HMTL-output functionalities, I am trying to produce a kable from a data.frame that contains some Markdown-style formatting that should show up in the final document. In the actual use case, I have a number of documents already…
andreas
  • 189
  • 2
  • 10
4
votes
1 answer

How can I force an error in code without stoping the execution in quarto?

I'm creating a document for students using quarto. One of the things I want to teach is how to read and understand error messages, so I was planning in creating wrong code blocks to force certain error messages (like the one below): a_list =…
ccamara
  • 1,141
  • 1
  • 12
  • 32
4
votes
2 answers

Two problems rendering a qmd file with quarto_render from R

I have a file my_file_to_render.qmd written in RStudio with R. I am trying to render this file with output html format from a file wrapper.R. In wrapper.R I am using: a_param = "a_name" quarto_render(input = "my_file_to_render.qmd", …
Philip
  • 335
  • 3
  • 11
4
votes
1 answer

quarto presentation multi-column toc

Wondering how to get multi-column toc in quarto presentation. The code of Test1.qmd is given below: --- title: "Test" author: "A B c" format: revealjs: toc: true toc_float: true toc-depth: 2 toc-location: body toc-title:…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309