Subcollection | R Documentation |
Subcollection class represents a folder inside Arvados collection. It is essentially a composite of arvadosFiles and other subcollections.
subcollection = Subcollection$new(name)
Name of the subcollection.
Returns name of the subcollection.
Returns subcollection path relative to the root.
Adds ArvadosFile or Subcollection specified by content to the subcollection.
Removes ArvadosFile or Subcollection specified by name from the subcollection.
If relativePath is valid, returns ArvadosFile or Subcollection specified by relativePath, else returns NULL.
Returns subcollections file content as character vector.
Returns subcollections content size in bytes.
Moves subcollection to a new location inside collection.
Copies subcollection to a new location inside collection.
## Not run: myFolder <- Subcollection$new("myFolder") myFile <- ArvadosFile$new("myFile") myFolder$add(myFile) myFolder$get("myFile") myFolder$remove("myFile") myFolder$move("newLocation/myFolder") myFolder$copy("newLocation/myFolder") ## End(Not run)