The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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:
<- c(1, 2, 3)
x add_tags(x, "foo", "bar")
<- c(1, 2, 3)
x add_tags(x, "foo", "bar")
has_tag(x, "foo") # Returns TRUE
<- c(1, 2, 3)
x <- matrix(1:9, nrow = 3)
y <- "hello world"
z add_tags(x, "foo")
add_tags(y, "bar")
add_tags(z, "baz")
ls_bytag("foo")
<- 1:10
x add_tags(x, "numbers", "positive")
untag(x, "positive") # Removes the "positive" tag
<- 5
x 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.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.