Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Generate a photo-gallery README for a directory of figs
@hadley
hadley commented Feb 23, 2015

I think this might be better as an Rmarkdown block:

`�``{r, results ="asis"}
fig_files <- dir(pattern = "jpg$") 
paste0("* ", fig_files, " ![]](", fig_files, ")\n")
`�``
@jennybc
Owner
jennybc commented Apr 29, 2015

Good idea @hadley! I hate how I don't get notified of comments 😦 but glad to have eventually seen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment