Skip to content

Instantly share code, notes, and snippets.

@paulrougieux
Last active August 29, 2015 13:57
Show Gist options
  • Save paulrougieux/9915219 to your computer and use it in GitHub Desktop.
Save paulrougieux/9915219 to your computer and use it in GitHub Desktop.
List of link to files in 2 level directory, useable in Markdown
```{r results='asis'}
for (f in list.files()){
if(file.info(f)$isdir){
l <- c(f, paste0(f,"/",list.files(f)))
cat(paste0("* [",c(f, list.files(f)),"]","(",l,")\n"))
}
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment