Guest User

Untitled

a guest
Oct 16th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # create_doc.R
  2. create_doc <- function(directory = NULL,
  3. database_name_name) {
  4. if (is.null(directory)) directory <- tclvalue(tkchooseDirectory(
  5. title = "Choose Folder for Input and Output"))
  6. rmarkdown::render("R/doc_generator.Rmd", output_dir = directory)
  7. }
Add Comment
Please, Sign In to add comment