This tempfile is stored in a directory that can be served as a static file through gWidgetsWWW2.
get_tempfile(ext = ".txt")
ext
file extension
f <- get_tempfile(ext=".svg") get_tempfile_url(f)