Hi all,
Is it possible to let the readers of an HTML document created by Quarto to download a file created in a code chunk?
Suppose I add embed-resources: true, and add the following:
dat <- data.frame(x = 1:5, y = 11:15)
write.csv(dat, "dat.csv")
Then, somewhere in the document, I want to add a link so readers cam download the embedded data CSV file.
Is it possible?
-- Shu Fai