format.adf_device {adfExplorer} | R Documentation |
Basic methods for S3 class objects
Description
Format and print methods for all S3 class objects created with adfExplorer
Usage
## S3 method for class 'adf_device'
format(x, ...)
## S3 method for class 'adf_file_con'
format(x, ...)
## S3 method for class 'adf_block'
format(x, ...)
## S3 method for class 'virtual_path'
format(x, width = 20L, ...)
## S3 method for class 'adf_device'
print(x, ...)
## S3 method for class 'adf_file_con'
print(x, ...)
## S3 method for class 'adf_block'
print(x, ...)
## S3 method for class 'virtual_path'
print(x, ...)
## S3 method for class 'virtual_path'
as.character(x, ...)
Arguments
x |
Object to be formatted or printed |
... |
Ignored or passed on to next methods |
width |
Set the text width for formatting virtual paths |
Examples
my_device <- demo_adf()
vp <- list_adf_entries(my_device, recursive = TRUE)
con <- adf_file_con(my_device, "s/startup-sequence")
block <- read_adf_block(my_device, 0L)
format(my_device)
format(vp)
format(con)
format(block)
print(my_device)
print(vp)
print(con)
print(block)
close(con)
close(my_device)
[Package adfExplorer version 2.0.3 Index]