Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Vectorize gsub ("stars") in aggr_by #12

Open
reinholdsson opened this issue Mar 13, 2013 · 0 comments
Open

Vectorize gsub ("stars") in aggr_by #12

reinholdsson opened this issue Mar 13, 2013 · 0 comments
Labels

Comments

@reinholdsson
Copy link
Contributor

> x <- aggr_by(notes, ids = c("1.1.1.2.1.2", "1.2.1.2.1.2"), path = "Id", labels = c("label", "notes"), dims = c("variable"), metrics = c("value"), include = TRUE, end = 2, by_child = FALSE, id_format = "stars")
Warning message:
In gsub(sprintf("(^%1$s%2$s)(\\w+)(.*$)", escaped_ids, "\\."), "\\1*\\3",  :
  argument 'pattern' has length > 1 and only the first element will be used
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant