neptune_download {neptune} | R Documentation |
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
Author(s)
Authors:
Mateusz Dominiak
Maintainer: Neptune DevTeam Devbackend@neptune.ai
See Also
Useful links:
Documentation https://docs.neptune.ai/
Report bugs at https://github.com/neptune-ai/neptune-r/issues
Examples
## 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')
## End(Not run)
[Package neptune version 0.2.3 Index]