All Questions
2,821
questions
0
votes
0
answers
16
views
Why are the YAML highlight options not being reflected in my HTML that is knitted from and RMD?
I am working in r studio. For my college class, we're working in rmd files and then knitting them to html files. Each rmd file starts with YAML options that setup the document. The document has no ...
1
vote
0
answers
35
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 ...
1
vote
0
answers
44
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&...
0
votes
1
answer
57
views
Parsing data in an HTML table pulled from a website using R
I'm trying to parse HTML tables and so far I've successfully managed to convert the HTML tables into a single data frame but I need to modify the code to parse the text in one of the columns to spread ...
1
vote
2
answers
108
views
How can I align a logo in the navbar header of an R shiny app created using bslib?
I am trying to add my company's logo to an R shiny app, made using {bslib}. I tried different ways of adding this image to the 'title' argument of 'page_navbar'. While the image gets added, it looks ...
1
vote
1
answer
36
views
str_wrap is ignored when using ggplotly (but not ggplot)
I want to wrap the text of the legend for the following plot, which works with ggplot:
library(tidyverse)
library(ggtext)
library(plotly)
df <- data.frame(xx = c(0, 3),
yy = c(0, ...
0
votes
2
answers
31
views
Export to html from cells on a dataframe using R and name the files according to content from another cell
I would like to export content from cells in a dataframe into separate html files. I would also like to name the files according to the corresponding cell in another column, but cannot make it work.
I ...
0
votes
0
answers
32
views
How to export clean HTML code in text variable from R to pdf, html, and xlsx
I'm having trouble with a R data frame where I pulled data from XBRL. One variable named "fact" contains HTML code. As you can see in the following table:
| endDate | fact |
| -------- | ---...
0
votes
1
answer
22
views
shiny htmlTemplate not linking correctly to css sheet
I want to add a css file reference to my htmlTemplate for a shiny application. My current method, pointing to an external file, is not working. Removing and replacing the class attribute with style ...
0
votes
1
answer
37
views
How to use HTML in radiobutton choiceNames in r Shiny
I am trying to display Radiobutton choiceNames that were generated based on a text input. The choiceNames include a Greek letter (beta) and two subscripts (the first one is a number and the second ...
0
votes
2
answers
60
views
Web scraping with dropdowns using R
I would like to extract data from the the table on this website using R for all available dates, times and states. I'm new to web scraping so I'm struggling to figure out what to extract, especially ...
0
votes
1
answer
40
views
Extend Spanner Bottom Border in {gt} to Full Width in v0.10.0
I am updating R and my version of {gt} will be updated from 0.7.0 to 0.10.0. With this update, I am having some issues reproducing a table.
My current process in 0.7.0 is:
library(gt)
mtcars %>%
...
0
votes
0
answers
30
views
Displaying a specific graph from a multi-faceted dataframe
I am fairly new-ish to R/RStudio so I apologies in advance for any lack of seemingly obvious knowledge and thank you in advanced for any help in this.
I am trying to create a Rmarkdown document in ...
0
votes
1
answer
29
views
Add many hidden items to html TOC using rmarkdown
I am trying to build in a list of hyperlinks to an html table of contents using rmarkdown. I don't want the list to appear in my html document. I found a useful way to hide these 'headers' in the ...
0
votes
0
answers
47
views
Content overlaps with floating table of contents in R markdown file when scrolling horizontally
I recently learned that it's possible to use toc_float: true in a Rmd file's YAML header to create a sticky table of contents that is placed to the left of the Rmd file's contents. This is great ...