r-markdown

Download Pdf report in Shiny

时光毁灭记忆、已成空白 提交于 2020-12-13 03:41:33
问题 Im making a shiny app, that will create 2 plots and one table. There are a lot of options in the select input part. Once selected it will subset the data.frame and return with another data.frame to be analised. It will plot accordingly and I want it to generate a report in pdf (or html) with the details of the input. Like "Generate Report" button and give me the plot for that specific input and with the input$company.pdf (or html) name. I have searched everywhere and I cant find out how to do

Unable to knit pdf, receiving tinytex error with failed tlmgr search

若如初见. 提交于 2020-12-13 01:22:19
问题 Using - RStudio Version 1.2.1335 - R version I am able to knit the R markdown file to HTML and Word, but fail with PDF. I keep receiving the same error message telling me that it is unable to locate the "Palatino" font. The file is successfully processed (all chunks run). I have tried re-installing and resetting Miktex and Tinytex, as well as R itself. I am pretty new to this, so I am unsure how to proceed. Should I install TexLive? This is the header of the file I am trying to run: -- title:

Unable to knit pdf, receiving tinytex error with failed tlmgr search

。_饼干妹妹 提交于 2020-12-13 01:22:18
问题 Using - RStudio Version 1.2.1335 - R version I am able to knit the R markdown file to HTML and Word, but fail with PDF. I keep receiving the same error message telling me that it is unable to locate the "Palatino" font. The file is successfully processed (all chunks run). I have tried re-installing and resetting Miktex and Tinytex, as well as R itself. I am pretty new to this, so I am unsure how to proceed. Should I install TexLive? This is the header of the file I am trying to run: -- title:

New Pandoc distrib = loose cross-references (RMarkdown - knitr - Bookdown - thesisdown - R)

不羁的心 提交于 2020-12-12 21:36:15
问题 I've loose some cross-references when exporting a bunch of .Rmd files to a single .doc file, using knitr and bookdown (+ yaml). The method is thesisdown::thesis_word:. The problem of loosing-references occurred immediately after I've installed a new version of Pandoc. Maybe I miss a step after Pandoc installation ? The lost references are currently the \@ref(title) ones, which previously return the number of the title indicated by : # My title {#title} and now return (??) . Only these anchors

New Pandoc distrib = loose cross-references (RMarkdown - knitr - Bookdown - thesisdown - R)

放肆的年华 提交于 2020-12-12 21:35:58
问题 I've loose some cross-references when exporting a bunch of .Rmd files to a single .doc file, using knitr and bookdown (+ yaml). The method is thesisdown::thesis_word:. The problem of loosing-references occurred immediately after I've installed a new version of Pandoc. Maybe I miss a step after Pandoc installation ? The lost references are currently the \@ref(title) ones, which previously return the number of the title indicated by : # My title {#title} and now return (??) . Only these anchors

New Pandoc distrib = loose cross-references (RMarkdown - knitr - Bookdown - thesisdown - R)

核能气质少年 提交于 2020-12-12 21:31:45
问题 I've loose some cross-references when exporting a bunch of .Rmd files to a single .doc file, using knitr and bookdown (+ yaml). The method is thesisdown::thesis_word:. The problem of loosing-references occurred immediately after I've installed a new version of Pandoc. Maybe I miss a step after Pandoc installation ? The lost references are currently the \@ref(title) ones, which previously return the number of the title indicated by : # My title {#title} and now return (??) . Only these anchors

New Pandoc distrib = loose cross-references (RMarkdown - knitr - Bookdown - thesisdown - R)

拈花ヽ惹草 提交于 2020-12-12 21:30:23
问题 I've loose some cross-references when exporting a bunch of .Rmd files to a single .doc file, using knitr and bookdown (+ yaml). The method is thesisdown::thesis_word:. The problem of loosing-references occurred immediately after I've installed a new version of Pandoc. Maybe I miss a step after Pandoc installation ? The lost references are currently the \@ref(title) ones, which previously return the number of the title indicated by : # My title {#title} and now return (??) . Only these anchors

New Pandoc distrib = loose cross-references (RMarkdown - knitr - Bookdown - thesisdown - R)

我只是一个虾纸丫 提交于 2020-12-12 21:29:27
问题 I've loose some cross-references when exporting a bunch of .Rmd files to a single .doc file, using knitr and bookdown (+ yaml). The method is thesisdown::thesis_word:. The problem of loosing-references occurred immediately after I've installed a new version of Pandoc. Maybe I miss a step after Pandoc installation ? The lost references are currently the \@ref(title) ones, which previously return the number of the title indicated by : # My title {#title} and now return (??) . Only these anchors

Including a HTML file rendered from RMarkdown in R Shiny apps using shinydashboard is causing tabItems to break

谁说我不能喝 提交于 2020-12-12 06:16:09
问题 Problem When including a HTML document rendered from RMarkdown in a ShinyApp using shinydashboard, the HTML document is only rendered correctly when the setting "self_contained:" in the YAML chunk of the RMarkdown file is set to true. However, doing this causes you to be unable to select tabItems from the sidebarMenu in shinydashboard. Conversely, when the setting "self_contained:" is set to false, elements of the HTML document such as plots and a floating table of contents are missing (non

Function to create plot and knit to HTML in RMarkdown not working

北城余情 提交于 2020-12-08 05:12:31
问题 I have a function in an R Markdown document. The function takes a "case number" variable, which is used to filter some data frames, produce a plot, and output the plot to a knit html document. Here's the basic idea: --- title: "Plot" output: html_document: toc: true toc_float: true toc_depth: 2 --- ```{r echo=FALSE, results='hide',message=FALSE,warning=FALSE} library(dplyr) library(ggplot2) library(scales) library(lubridate) library(plotly) library(vistime) ``` ```{r echo = FALSE, warning