Here is a filename outside an .R chunk: "empty.bib". It shouldn't be discovered.

# this R code has a lot of strings that aren't filenames
paste("Covariances should be a ", n, " by ", n, " matrix")
syms <- paste("x", 1:n, sep = "")
as.numeric(attr(eval(deriv(form, syms), envir = envir), "gradient"))

# this R code has strings that are filenames
read.csv("./empty.csv")
read.csv('./empty.tsv')


Try the rmarkdown package in your browser

Any scripts or data that you put into this service are public.

rmarkdown documentation built on Nov. 4, 2024, 5:06 p.m.