format.adf_device | R Documentation |
Format and print methods for all S3 class objects created with adfExplorer
## 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, ...)
x |
Object to be formatted or printed |
... |
Ignored or passed on to next methods |
width |
Set the text width for formatting virtual paths |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.