R/odfTmpDir.R

# This generates the path of a directory to use
# in odfWeave.  It won't exist, as it is the job
# of the odfWeave function to create it.
odfTmpDir <- function()
{
   tmpPath <- tempdir()
   suffix <- paste(
      "odfWeave", 
      format(Sys.time(), "%d%H%M%S"), 
      round(runif(1)*1000, 0),
      sep = "")
   paste(tmpPath, "/", suffix, sep = "")
}

Try the odfWeave package in your browser

Any scripts or data that you put into this service are public.

odfWeave documentation built on May 2, 2019, 6:51 p.m.