A function to quickly list all objects in your global environment of a given class. Useful to me for one main reason: you can pass it to rm, with rm(list = which_is_class('something something')) This is quite convenient if, for example, you have a database connection, assign a bunch of tables to objects, and later want to remove all of those because you're done pulling data, because you closed the connection, or because you've quit the project in a fit of rage.
1 | which_is_class(class_name)
|
class_name |
a string, or a vector or list of strings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.