Learn R Programming

shinydlplot (version 0.1.4)

hiddenDownload: Logic for hidden download link

Description

Logic for hidden download link

Usage

hiddenDownload(input, output, session, check, filename, content)

Value

No return value, called to generate logic for hidden download link.

Arguments

input, output, session

standard shiny boilerplate.

check

reactive value to trigger download.

filename

A string of the filename, including extension, that the user's web browser should default to when downloading the file; or a function that returns such a string. (Reactive values and functions may be used from this function.)

content

A function that takes a single argument file that is a file path (string) of a nonexistent temp file, and writes the content to that file path. (Reactive values and functions may be used from this function.)

See Also

hiddenDownload