Learn R Programming

rspacer (version 0.3.1)

file_download: Download a file from the gallery

Description

Download a file from the gallery

Usage

file_download(file_id, path = ".", api_key = get_api_key())

Value

The file path of the downloaded file. If the file already exists, the user is asked whether the function should overwrite the pre-existing file. If not, the download is canceled and FALSE is returned invisibly.

Arguments

file_id

gallery file to be downloaded

path

download destination

api_key

RSpace API key