X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0fab8a581c4a711408150ed64ce909d9afda7829..a89fbc8b4f2d8db8654175428bd1f041eed6f109:/sdk/R/man/ArvadosFile.Rd diff --git a/sdk/R/man/ArvadosFile.Rd b/sdk/R/man/ArvadosFile.Rd index b7840dc16f..514e9e846d 100644 --- a/sdk/R/man/ArvadosFile.Rd +++ b/sdk/R/man/ArvadosFile.Rd @@ -29,7 +29,8 @@ ArvadosFile class represents a file inside Arvados collection. \item{flush()}{Write connections content to a file (override current content of the file).} \item{remove(name)}{Removes ArvadosFile or Subcollection specified by name from the subcollection.} \item{getSizeInBytes()}{Returns file size in bytes.} - \item{move(newLocation)}{Moves file to a new location inside collection.} + \item{move(destination)}{Moves file to a new location inside collection.} + \item{copy(destination)}{Copies file to a new location inside collection.} } } @@ -40,7 +41,7 @@ myFile <- ArvadosFile$new("myFile") myFile$write("This is new file content") fileContent <- myFile$read() fileContent <- myFile$read("text") -fileContent <- myFile$read("raw", offset = 8, length = 4) +fileContent <- myFile$read("raw", offset = 8, length = 4) #Write a table: arvConnection <- myFile$connection("w") @@ -52,5 +53,6 @@ arvConnection <- myFile$connection("r") mytable <- read.table(arvConnection) myFile$move("newFolder/myFile") +myFile$copy("newFolder/myFile") } }