Overload of operator [].
## S3 method for class 'largeList'
x[[index = NULL]]
A largeList object created by getList.
A numeric or character vector of length 1.
It behaviours the same as a normal list object.
A R object.
largelist_object <- getList("example.llo", truncate = TRUE)
largelist_object[] <- list("A" = 1, "B" = 2, "C" = 3) ## assign list to the list file
largelist_object[] ## get 1
largelist_object[["B"]] ## get 2
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.