Is there a way to search within an object? For small objects, str(obj)
is fine and you can easily digest all the output, but this is problematic when there are hundreds of lines of output.
For example, something like this technically works:
capture.output(str(iris)) %>% stringr::str_subset("Sepal")
Is there a better way of searching within the object?