toString.siglist {sig} | R Documentation |
Prints a list of function signature objects.
## S3 method for class 'siglist'
toString(x, width = getOption("width"), ...)
## S3 method for class 'siglist'
print(x, width = getOption("width"), ...)
x |
An object of class |
width |
Width of string to display. |
... |
Passed to the equivalent |
toString
creates a string representation of a function signature.
print
is mostly invoked for the side effect of printing a function
signature, invisibly returning its input.
method_sigs <- list_sigs(pkg2env(methods))
print(method_sigs)
print(method_sigs, width = 40)
print(method_sigs, width = 40, exdent = 2)
toString(method_sigs)