r-markdown Questions

2

I am trying to use beamer_presentation in RMarkdown and in the YAML header I include, say, title: "Long title". This title appears on the first title page of my slides but also at the bottom of all...
Scoter asked 8/5, 2018 at 4:22

3

Solved

A minimal Rmarkdown document has a YAML header, markdown syntax and R code chunks. To edit such a multi-language file, I am using the Emacs editor, and the buffer in which the Rmd document is opene...
Irruption asked 30/11, 2016 at 17:8

3

Solved

When running read_xlsx() in my normal .R script, I'm able to read in the data. But when running the .R script with source() in R Markdown, it suddenly takes a long time (> 20+++ mins I always te...
Headlong asked 5/5, 2022 at 8:57

2

Solved

I am attempting to create a table which has citations built into the table. Here is a visual of what I am trying to achieve. As far as I know you can only add footnotes in rowvars or colvars in ...
Cerda asked 31/7, 2018 at 12:13

1

When using rmarkdown with knitr in Rstudio to knit a Microsoft Word document, the graphics generally look crappy because the usual vector graphics formats, such as PDF are not supported in Microsof...
Haney asked 30/7, 2014 at 15:30

4

I am producing reports using rmarkdown. When knitting a PDF --- title: "Untitled" output: pdf_document --- I would like to specify the font to be used in creating the PDF. The official documenta...
Anhydrite asked 26/6, 2014 at 1:48

2

Solved

In a .Rmd file with the header below, I want to include an abstract, so I tried the standard LateX article form, \abstract{This paper explores a variety of topics related to the question of testin...
Merozoite asked 2/4, 2016 at 13:35

4

I have been to their website. I have viewed a YouTube on a related subject. And, so far I don't really get it. My objective is to use Pandoc in conjunction with R Markdown to convert R Markdown HTM...
Prewar asked 10/12, 2015 at 22:44

2

I have a Quarto qmd file with the below code to display a valueBox. --- title: "My Dashboard" output: flexdashboard::flex_dashboard: orientation: rows --- ```{r setup, include=FALSE} ...
Manysided asked 15/9, 2022 at 20:32

2

Solved

I think the R markdown can generate sections of text using for loop, see this post. However, I wonder if there is any possibility to generate figures and tables as well. So I made a simple example....
Byroad asked 11/11, 2021 at 21:50

15

I want to center an image and/or text using R Markdown and knit a PDF report out of it. I have tried using: ->Text<- ->![](image1.jpg)<- That does not do the trick! Any other way o...
Dakotadal asked 10/7, 2014 at 13:19

3

I'm using VSCode for R programming. As I try different ways of plotting my data, I thought it might be a nice idea to use a Rmd file to get track of what I tried but my problem is I can't make this...
Moorhead asked 16/11, 2023 at 10:7

10

Solved

When i generate a new rmarkdown file (or open existing rmarkdown-files) and try to run a rmarkdown chunk, i get this error: "Error: attempt to use zero-length variable name". I have Win10 and did a...
Tree asked 12/9, 2017 at 8:20

5

Solved

I want to demonstrate how to write RMarkdown, where said RMarkdown demonstration is embedded within an RMarkdown document used to create the course material. Within this fenced code block, I don't ...
Densmore asked 17/2, 2016 at 14:17

3

Solved

I am writing an analysis report with rmarkdown and would like to have a "document versions" section in which I would indicate the different versions of the document and the changes made. Instead o...
Cantina asked 4/2, 2017 at 8:35

3

Solved

I'm trying to knit an HTML document from RMarkdown, and hide the section from both the Table of Contents (ToC) and body of the output (HTML file), while while still knitting (executing) all of the ...
Loggins asked 20/12, 2019 at 17:36

3

Is there any way to insert a fully formatted citation in RMarkdown in-text. For example, something like this: You enter the citation key @watson1953 and it renders (as a latex PDF) as Watson, J...
Fonda asked 4/3, 2017 at 22:19

3

I'm currently working on my thesis and have been using a bookdown template provided by one of the academics in the department but I've run into an issue knitting it to a pdf. Whenever I try to do s...
Skyjack asked 11/11, 2023 at 13:39

2

The level 4 and 5 headers in Rmarkdown does not create a new line after they are rendered in the pdf file. I am just wondering how I could fix this issue. The R markdown codes to generate pdf The ...
Resnick asked 9/2, 2021 at 20:8

2

Solved

I am using DT::datatable() to visualize tables in a R markdown file. # R markdown file library(DT) ```{r viewdata} # this is an example but my actual dataset has 10000 rows and 100 columns var....
Alainaalaine asked 17/11, 2016 at 20:30

3

Solved

I would like to produce a table that spans over multiple pages using kable(). I know this is possible using xtable() with the "longtable" option, but I need kable() for other features. Any ideas?...
Bluish asked 11/6, 2017 at 17:7

4

I am trying to write in my R Markdown "3 times 6:10 and (3 times 6):10" all in complete letters (I am using times instead of *. My purpose is to put * instead of word times without any pr...
Belita asked 21/1, 2021 at 21:52

3

I am trying to create a multi-line equation in RMarkdown. I have tried the following code, extracted from http://www.rstudio.com/ide/docs/authoring/using_markdown_equations, $$ \begin{aligned} \...
Cyanite asked 15/1, 2014 at 0:15

7

I have noticed this issue when knitting all file types (html, pdf, word). To make sure there's not an issue specific to my program, I went ahead and ran the default .rmd file you get when you creat...
Amandaamandi asked 20/4, 2017 at 18:45

3

I would like to create an html document with RMarkdown, containing text, Rcode and somewhere in between a shiny application. I thought of using asis=TRUE for the shinyApp(ui, server) block, but ...
Castera asked 17/7, 2017 at 16:57

© 2022 - 2024 — McMap. All rights reserved.