Updated README to reflect current project state
authorFuad Muhic <fmuhic@capeannenterprises.com>
Fri, 19 Jan 2018 16:40:57 +0000 (17:40 +0100)
committerFuad Muhic <fmuhic@capeannenterprises.com>
Fri, 19 Jan 2018 16:40:57 +0000 (17:40 +0100)
Arvados-DCO-1.1-Signed-off-by: Fuad Muhic <fmuhic@capeannenterprises.com>

sdk/R/README

index 6f1f2ce938fef085a30fdc72e359c15ad4f5fb59..cc073d5303087806fb3aedc50fa69385b0fb1416 100644 (file)
@@ -171,20 +171,22 @@ subcollection$remove("folderInsideSubcollection/")
 
 #Move file or folder inside collection
 
-file <- collection$get("location/to/my/file.cpp")
+#Directley from collection
 
-file$move("destination/file.cpp")
+collection$move("folder/file.cpp", "file.cpp")
 
-#Or subcollections
+#Or from file
 
-subcollection <- collection$get("location/to/folder")
+file <- collection$get("location/to/my/file.cpp")
+file$move("newDestination/file.cpp")
 
-subcollection$move("destination/folder")
+#Or from subcollection
 
-#Make sure to include folder name in destination
-#For example
-#file$move("destination/") will not work
+subcollection <- collection$get("location/to/folder")
+subcollection$move("newDestination/folder")
 
+#Make sure to include file name in new destination
+#In second example file$move("newDestination/") will not work
 
 --------------------------------------------------------------------------------------------------------------------------------
 WORKING WITH ARVADOS PROJECTS