settmpdir | R Documentation |
Temporarily set a path to a specific directory. Path is restored once the calling function/frame ends.
settmpdir(dir)
dir |
directory |
dir = tempdir() test = function(){ beter:::settmpdir(dir) print(getwd()) } test() # should print dir print(getwd()) # back to normal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.