Learn R Programming

neptune (version 0.2.3)

neptune_download: Downloads all the files that are referenced in the field.

Description

Downloads all the files that are referenced in the field.

Usage

neptune_download(x, destination)

Arguments

x

Field for which we want to download the files

destination

(character - The directory where the files will be downloaded. If NULL is passed, the files will be downloaded to the current working directory.

If destination is a directory, the file will be downloaded to the specified directory with a filename composed from field name and extension (if present).

If destination is a path to a file, the file will be downloaded under the specified name.

Value

None

See Also

Useful links:

Examples

Run this code
# NOT RUN {
# We are using api token for an anonymous user neptuner. For your projects use your private token.
run <- neptune_init(api_token = 'ANONYMOUS',
                    project = "common-r/quickstarts",
                    run='AR-2', # Neptune Run ID of a run with artifact
                    mode='read-only')
neptune_download(run['artifacts/images'], destination='datasets/train/images')
# }

Run the code above in your browser using DataLab