Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate a photo-gallery README for a directory of figs
@hadley

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.