powered by
Parsable object to be supplied to print, data.frame, etc.
print
data.frame
R6 object
Number of elements to display before & after ellipsis
String representation of the set.
$strprint(object, n = 2)
strprint is a suggested method that should be included in all R6 classes to be passed to methods such as cat, summary and print.
strprint
cat
summary
It is often not required to call this directly; the print method is recommended for printing strings to the console.
# NOT RUN { Set$new(1:10)$strprint(n = 2) Set$new(1:10)$strprint() # }
Run the code above in your browser using DataLab