print.irods_df {rirods} | R Documentation |
Print Method for iRODS Data Frame Class.
Description
Print Method for iRODS Data Frame Class.
Usage
## S3 method for class 'irods_df'
print(
x,
...,
digits = NULL,
quote = FALSE,
right = TRUE,
row.names = FALSE,
max = NULL,
message = TRUE
)
Arguments
x |
An object of class |
... |
optional arguments to |
digits |
the minimum number of significant digits to be used: see
|
quote |
logical, indicating whether or not entries should be printed with surrounding quotes. |
right |
logical, indicating whether or not strings should be right-aligned. The default is right-alignment. |
row.names |
logical (or character vector), indicating whether (or what) row names should be printed. |
max |
numeric or |
message |
Show message when empty collection. Default to |
Value
Invisibly return the class irods_df
object.
See Also
Examples
is_irods_demo_running()
# connect project to server
create_irods("http://localhost:9001/irods-http-api/0.2.0")
# authenticate
iauth("rods", "rods")
# some data
foo <- data.frame(x = c(1, 8, 9), y = c("x", "y", "z"))
# store data in iRODS
isaveRDS(foo, "foo.rds")
# add some metadata
imeta(
"foo.rds",
operations =
data.frame(operation = "add", attribute = "foo", value = "bar",
units = "baz")
)
# iRODS Zone with metadata
irods_zone <- ils(metadata = TRUE)
# print (default no row.names)
print(irods_zone)
# with row.names
print(irods_zone, row.names = TRUE)
# delete object
irm("foo.rds", force = TRUE)
[Package rirods version 0.2.0 Index]