Nothing
tagsr
provides functions to manage tags associated with R objects. You can add, remove, check, list, and clean tags on any R object in the environment.
# install.packages("tagr", dependencies = TRUE)
The tagsr
package allows users to:
Below are a few quick examples to get you started:
x <- c(1, 2, 3)
add_tags(x, "foo", "bar")
x <- c(1, 2, 3)
add_tags(x, "foo", "bar")
has_tag(x, "foo") # Returns TRUE
x <- c(1, 2, 3)
y <- matrix(1:9, nrow = 3)
z <- "hello world"
add_tags(x, "foo")
add_tags(y, "bar")
add_tags(z, "baz")
ls_bytag("foo")
x <- 1:10
add_tags(x, "numbers", "positive")
untag(x, "positive") # Removes the "positive" tag
x <- 5
add_tags(x, "important", "numeric")
tags(x) # Returns "important, numeric"
For more detailed documentation and examples, refer to the individual function documentation using the help()
or ?
function in R.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.