Trying to print a slimr_results object can freeze up the console because it tries to print the entire object which may include very large strings. We may also need to add print method just for the data slot because that is where the big strings are. We may need to split the strings by newline and only print the first few lines. Also should add a glimpse method. Might also be good to have a function that can open a large bit of text data in a text editor, because the R console is not too helpful for exploring large chunks of text.
Trying to print a
slimr_results
object can freeze up the console because it tries to print the entire object which may include very large strings. We may also need to addprint
method just for thedata
slot because that is where the big strings are. We may need to split the strings by newline and only print the first few lines. Also should add aglimpse
method. Might also be good to have a function that can open a large bit of text data in a text editor, because the R console is not too helpful for exploring large chunks of text.