Most voted "rmarkdown" questions
Rmarkdown is a reporting production tool capable of merging text and data analysis codes in order to produce properly formatted documents.
Learn more…28 questions
Sort by count of
-
5
votes1
answer620
viewsHow to set a decimal display pattern in R?
I have a rmarkdown script that generates a report in . pdf. I would like to standardize the number of decimal places displayed, without needing to round() in every function. At the beginning of the…
-
5
votes1
answer57
views -
5
votes1
answer125
viewsFormatting Titles in Table of Contents Rmarkdown (R)
That’s my code in Rmarkdown: --- title: "Formatando Table of Contents" author: "Laura" date: "`r Sys.Date()`" output: pagedown::html_paged: toc: true toc_depth: 3 self_contained: false --- #…
-
4
votes0
answers379
viewsHow to change document language in rmarkdown using latex?
I’m writing a document in Rmarkdown and using Latex for figures and tables. I need the titles of figures and tables in Portuguese, so I tried the following: Rmarkdown file: --- Output: pdf_document:…
-
4
votes1
answer101
viewsRmarkdown - How to create a . pdf with a different name than . Rmd?
I created a script in . Rmd that will be played for different years. So I would like to be able to change the name of the generated . pdf. As it is: Report File.Rmd generates Report.pdf How I would…
-
4
votes1
answer82
viewsWhat are the differences between Rmarkdown and Rnotebook?
The RMarkdown has become a very popular interface and file type in recent years. I believe this is due to the fact that it allows using a single software to write complete statistical analysis…
-
3
votes1
answer212
viewsChange the header color of the "Material" theme of the "rmdformats" package to an html output in Rmarkdown
I would like to change the header color of the "Material" theme of the "rmdformats" package to an html output of rmarkdown. I want to change from green to blue just the header, keeping all other…
-
3
votes1
answer75
viewsProblems automated formatting subsection Rmarkdown in R
I need to generate a report that has several sections and subsections, which depending on the month, may or may not appear in the database To get around the problem, I created an appearance…
-
3
votes1
answer64
viewsConverting from HTML/CSS to pdf using pandoc in R
Folks I’m having trouble converting my generated html/css file into Rmarkdown. You could help me? Follow my code: My file . Rmd --- title: "Table" output: html_document: css: "test.css" --- ```{r}…
-
3
votes1
answer72
viewsYAML: How to use the current date in the Rmarkdown compilation?
How to automatically include the current system date in the title of the document to be compiled by R-markdown? When I try to include the system date in the field date through the YAML code: r…
-
2
votes1
answer326
viewsHow to adjust margins on R markdown
I’m creating a document in R Markdown, but when I generate the markdown it occupies the entire area of the browser, getting bad reading. I would like to know how to adjust the margins, so that it…
-
2
votes1
answer864
viewsImage alignment in the Markdown
I’m trying to insert three images into the R using markdown, but I need them all to appear together next to each other. Which syntax to be used, I’m able to put one below the other.…
-
2
votes1
answer532
viewsProblems to generate pdf file and equations in the file via R Markdown
I am trying to run the following function via R Markdown, seeking to generate a pdf, and with equations using Latex I already installed all the necessary packages, so with Miktex 2.9 full version…
-
2
votes1
answer380
viewscreate PDF dynamically in Rmarkdown
Good afternoon. For a week I’ve been trying to do a magic at Rmarkdown but I can’t. Well, come on. Contextualizing: I need to write different Pdfs (or html) with different contents. In this case,…
-
1
votes0
answers104
viewsRmarkdown with mixed accents
I wrote a report in Rmarkdown that, after a Windows update, it changed all accents by other characters. The main issue would be to read the external files. But there is a part that I need to read…
-
1
votes0
answers105
viewsEmojis do not appear when executing the emo::ji() function in R
I can’t see the emoji from the package emo of R when I file in rmarkdown. I do it this way: emo::ji("smile") Nothing appears and reports no error. In this other way: tibble::tibble(emo::ji("smile"))…
-
1
votes0
answers48
viewsIs it possible for Rmarkdown to load an R code?
I already have a code ready in the R and now I’m learning the Rmarkdown. My question is the following, is there any function that loads the R code in Rmarkdown that allows me to use the information…
-
1
votes0
answers173
viewsRmarkdown: object not found when using knitr
I am trying to create a word file from Rmarkdown using knitr, but on a certain line(see in the image) does not find the iris.wide object, but on the console runs normally. Why does this happen and…
rmarkdownasked 5 years, 3 months ago João Sousa 11 -
1
votes1
answer53
viewsR - How to generalize a function if data is missing.frame
I created the function below to calculate the descriptive statistics of certain companies separated between the 5 regions of Brazil and the total and present in a table. library(tidyverse)…
-
1
votes1
answer71
viewsHow to combine multiple R-Markdown (.rmd) files into a single document?
In a project on R, I have several files .Rmd in the same folder. As in the example below: Capitulo1.Rmd --- title: "Capítulo 1" output: pdf_document --- # Esse é o capítulo 1. ```{r} plot(cars) ```…
-
1
votes1
answer45
viewsMark the highest and lowest value of a column with kableExtra in R
I am building a report in Rmarkdown and need to create a table with the data table below: MEDIA <- data.frame(Questões = c("Questão 43", "Questão 44", "Questão 45", "Questão 46", "Questão 52",…
-
1
votes2
answers78
viewsTables type GT not printing inside loop in Rmarkdown
I’m programming a report generator that exports html. I use two files, the first is a loop that will determine the number of reports and within my template. Rmd I have another loop to print several…
-
0
votes0
answers14
viewsHow to take advantage of objects created in a Rmarkdown file in another Rmarkdow file
I’m working on a report in Rmarkdown and I need to do another report which is actually a summary of the first. As it is a synthesis of the first, I need to rescue some objects from the original…
-
0
votes0
answers114
viewsOpen a Flexdashboard in another browser tab with "Runtime:Shiny" through an Actionbutton in a Shiny app
I have a Shiny application of the following structure, where the following code is named app.R library(shiny) ui <- fluidPage( theme = shinytheme("darkly"), navbarPage(title = "Teste ",…
-
0
votes0
answers25
viewsInstallation problems for Rmarkdown in version 4.0.5 of R
I am having problems installing rmarkedown in version 4.0.5 of R. I first tried the installation going in files -> rmakedown. But when I click Knit to generate the document, I get the following…
-
0
votes1
answer159
viewsPDF R Markdown not generated
I started using Rstudio on Windows 10 recently. I tried the basic operation to save a PDF from R Markdown, however, when generating R Markdown, the file does not appear as . rmd, even having renamed…
-
-1
votes1
answer94
viewsHow to omit Chunks in Rmarkdown?
This question requires the use of images to understand. R Markdown is like this: I need to wear a shortcut, without having to click the arrows next to the hashtags, to do this: How to do this for a…
-
-1
votes2
answers44
viewsBarplot in R: Help with the arguments to create a more complete graph
Hello. I need to create the two charts below in this exact way. Certain adjustments, for example: the creation of a value of 7 in the x-axis, which has been omitted; the horizontal axis with traces…