get_tempfile: Get a temporary file matching the given extension, if given.

Description Usage Arguments Examples

View source: R/utils.R

Description

This tempfile is stored in a directory that can be served as a static file through gWidgetsWWW2.

Usage

1
get_tempfile(ext = ".txt")

Arguments

ext

file extension

Examples

1
2
f <- get_tempfile(ext=".svg")
get_tempfile_url(f)

jverzani/gWidgetsWWW2 documentation built on Feb. 9, 2020, 5:18 p.m.