| with_tempfile | R Documentation | 
Call a function with a temporary file.
with_tempfile(fn, ...)
| fn | a function that takes a filename as the first argument. | 
| ... | arguments passed to to fn. | 
object the return value of fn
## Not run: 
data(iris)
with_tempfile(function(file_name) {
 write.csv(iris, file_name)
 # add'l operations
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.