Collection | R Documentation |
Collection class provides interface for working with Arvados collections.
collection = Collection$new(arv, uuid)
Arvados object.
UUID of a collection.
Adds ArvadosFile or Subcollection specified by content to the collection.
Creates one or more ArvadosFiles and adds them to the collection at specified path.
Remove one or more files from the collection.
Moves ArvadosFile or Subcollection to another location in the collection.
Copies ArvadosFile or Subcollection to another location in the collection.
Returns collections file content as character vector.
If relativePath is valid, returns ArvadosFile or Subcollection specified by relativePath, else returns NULL.
## Not run: arv <- Arvados$new("your Arvados token", "example.arvadosapi.com") collection <- Collection$new(arv, "uuid") createdFiles <- collection$create(c("main.cpp", lib.dll), "cpp/src/") collection$remove("location/to/my/file.cpp") collection$move("folder/file.cpp", "file.cpp") arvadosFile <- collection$get("location/to/my/file.cpp") arvadosSubcollection <- collection$get("location/to/my/directory/") ## End(Not run)