Learn R Programming

neptune (version 0.2.3)

neptune_delete_files: Delete the file or files specified by paths from the FileSet stored on the Neptune servers.

Description

Delete the file or files specified by paths from the FileSet stored on the Neptune servers.

Usage

neptune_delete_files(x, paths, wait=FALSE)

Arguments

x

Field

paths

character or vector of characters - Path or paths to files or folders to be deleted. Note that these are paths relative to the FileSet itself e.g. if the FileSet contains file example.txt, varia/notes.txt, varia/data.csv to delete whole subfolder you would pass varia as the argument.

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 {
  
# }
# NOT RUN {
    run <- neptune_init(api_token = 'ANONYMOUS',
                        project = "common-r/quickstarts")
    neptune_delete_files(run['artifacts/images'], "path/to/file")
  
# }

Run the code above in your browser using DataLab