Skip to main content

All Questions

Tagged with
-2 votes
0 answers
30 views

Is it possible to use R Markdown directly? [duplicate]

Suppose I have the following .txt notepad file (containing Latex math equations) saved in the working directory Hello. This is a parabola: $$ y = x^2$$ And this is a cubic function: $$ y = x^3$$ ...
stats_noob's user avatar
  • 5,695
0 votes
0 answers
29 views

RMarkdown issue: {r child = here::here("scripts","rmd","analysis-part000.Rmd")}

I'm trying to clean up a long RMarkdown document based on this article that uses here::here() to dynamically build the folder structure from the base folder of the project. My code successfully ...
Marc Alexander's user avatar
0 votes
1 answer
31 views

How to format table cells in R Quarto HTML document (xtable)

I created an HTML-based R-Quarto document running on the knitr engine. In the example below, I set up the document, include dplyr, and try to format cells of mtcars that are above the column's average ...
javery's user avatar
  • 15
0 votes
0 answers
28 views

Error message while trying to knit an R Markdown

I'm trying to run an R Markdown in RStudio, but when I click "Knit", the following message appears: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : ...
Max's user avatar
  • 1
1 vote
2 answers
42 views

Getting source code of RMarkdown script from HTML output

Is there a way to inspect the source code of an output HTML document that was created from an RMarkdown document? I knit an RMarkdown document to HTML and I'm trying to find the source code of the ...
DiamondJoe12's user avatar
  • 1,661
0 votes
0 answers
25 views

R Studio Recv failure: Connection was reset error after updating R Studio to latest version

I have a R script which calls another RMarkdown script in order to create an RMarkdown HTML document for each row in a dataframe column. Here's the basic script: render_one <- function(case) { # ...
DiamondJoe12's user avatar
  • 1,661
0 votes
0 answers
14 views

Creating rmd with knit_child

my goal is to use the command knit_child in a rmd so that it will appeal another rmd for different tree species for a study. Here is the code of my rmd with knit_child: --- title: "Untitled&...
aureldln's user avatar
1 vote
0 answers
33 views

Why is my R Markdown HTML document not getting saved?

I have a data table with different vegetation anomaly surfaces (surface) (remote sensing) which are classified according to different region names (Nom) and anomaly classes (class). I would like my ...
Camille_brnd's user avatar
1 vote
0 answers
41 views

html behavior inside R-shiny

I have a Rmd file with some math expression which I kint it inside R and get a html file: --- title: "Random Markdown with Math" author: "Example Author" date: "2024-07-15&...
Haribo's user avatar
  • 2,142
0 votes
0 answers
37 views

Trouble using "Knit" in RStudio. Keep getting an error that says my data isn't actually there [closed]

Working on a project for class and I keep getting an error every time I try and knit it. The project needs to be turned in as an HTML (be aware that the pictures shown are not finished) I imported ...
Hayden Wilcox's user avatar
1 vote
1 answer
28 views

How to wrap text in a `gt::as_latex()` table

When using the R package gt to generate a LaTeX table, wrapping of very long column entries does not happen. I tried several options in tab_style(), but they did not have any effect on indentation: ---...
Lukas D. Sauer's user avatar
0 votes
0 answers
34 views

Using coord.fixed() in facetted ggplot creates white space above and below the plot in Rmarkdown (html, Pdf and doc)

Here is a short reprex valN <- 2000 valCorr <- .7 matCov <- matrix(c(1, valCorr, valCorr, 1), byrow = TRUE, ncol = 2) vecMeans <- c(0, 0) MASS::mvrnorm(n = valN, mu = vecMeans, Sigma = ...
cpsyctc's user avatar
  • 91
1 vote
1 answer
39 views

Quarto delete plot files after rendering

The directory for the plot files is generated but once the docx document is rendered the plots and directory disappear. I have never experienced this before. Is this an MAC OSX thing? I can't ...
Ross D's user avatar
  • 381
0 votes
0 answers
28 views

Collapse messages and text output and add a scrollbar to chunk output when writing vignettes in Rmd

I'm writing vignettes on RStudio using Rmarkdown and knitr for an R package that I'm developing. In one chunk, I'd like to demonstrate the operation of a function I wrote and show its output. ...
Giomu's user avatar
  • 1
0 votes
0 answers
35 views

Creating subsections from variable

I would like to use categories in variable to create subsections in RMarkdown and display the results of each category in the given section.... This is the R script library(rmarkdown) library(dplyr) ...
Moses's user avatar
  • 1,442

15 30 50 per page
1
2 3 4 5
581