View source: R/getReferences.R
getReferences | R Documentation |
Get a list of all the pdf, Word, Excel, PowerPoint, Simcyp Simulator workspace, XML, jpg, png, or text files in, e.g., the "DataRec" folder and subfolder. Can be useful for the bibliography section of a report.
getReferences(main_directory = ".", print_filenames = FALSE, save_output = NA)
main_directory |
the main directory from which you want a list of all the files, in quotes; default assumes the main directory is your current working directory |
save_output |
optionally save the output by supplying a file name in quotes here, e.g., "My references.csv". If you leave off ".csv", it will still be saved as a csv file. |
A data.frame containing columns "Directory" for the directory and, where applicable, the subdirectory of a file, and "File" for the file name. Optionally save output to a csv file.
getReferences()
getReferences(save_output = "My referencs.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.