Merge branch '16809-s3-v4-signature'
[arvados.git] / sdk / R / README.Rmd
index 7ea226fd0931d61a2c8c2e92f8d892f3406918b3..63bf55373d17a163522d1f2fdcf0ee4d640361d5 100644 (file)
@@ -14,7 +14,7 @@ knitr::opts_chunk$set(eval=FALSE)
 ```
 
 ```{r}
-install.packages("ArvadosR", repos=c("http://r.arvados.org", getOption("repos")["CRAN"]), dependencies=TRUE)
+install.packages("ArvadosR", repos=c("https://r.arvados.org", getOption("repos")["CRAN"]), dependencies=TRUE)
 ```
 
 Note: on Linux, you may have to install supporting packages.
@@ -133,7 +133,7 @@ files <- collection$getFileListing()
 arvadosFile <- collection$get("location/to/my/file.cpp")
 ```
 
-    or
+or
 
 ```{r}
 arvadosSubcollection <- collection$get("location/to/my/directory/")
@@ -177,7 +177,7 @@ fileContent <- arvadosFile$read("raw", offset = 1024, length = 512)
 size <- arvadosFile$getSizeInBytes()
 ```
 
-    or
+or
 
 ```{r}
 size <- arvadosSubcollection$getSizeInBytes()
@@ -189,7 +189,7 @@ size <- arvadosSubcollection$getSizeInBytes()
 collection$create(files)
 ```
 
-    Example:
+Example:
 
 ```{r}
 mainFile <- collection$create("cpp/src/main.cpp")
@@ -219,9 +219,9 @@ subcollection$remove("fileInsideSubcollection.exe")
 subcollection$remove("folderInsideSubcollection/")
 ```
 
-* Move file or folder inside collection:
+* Move or rename a file or folder within a collection (moving between collections is currently not supported):
 
-Directley from collection
+Directly from collection
 
 ```{r}
 collection$move("folder/file.cpp", "file.cpp")
@@ -244,9 +244,9 @@ subcollection$move("newDestination/folder")
 Make sure to include new file name in destination.
 In second example file$move("newDestination/") will not work.
 
-* Copy file or folder inside collection:
+* Copy file or folder within a collection (copying between collections is currently not supported):
 
-Directley from collection
+Directly from collection
 
 ```{r}
 collection$copy("folder/file.cpp", "file.cpp")