Learn R Programming

neptune (version 0.2.3)

neptune_track_files: Saves the artifact metadata.

Description

Saves the artifact metadata: version (hash), location (path), size, folder structure, and contents to Neptune. Works for files, folders or S3-compatible storage.

Usage

neptune_track_files(x, path, destination=NULL, wait=FALSE)

Arguments

x

Field

path

character - File path or S3-compatible path to the file or folder that you want to track.

destination

character - location inside Neptune artifact namespace where you want to log the metadata.

wait

logical - - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

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")
  neptune_track_files(run['artifacts/images'], 'datasets/train/images')
# }

Run the code above in your browser using DataLab