{"action":"opened","issue":{"url":"https://api.github.com/repos/hadley/dplyr/issues/1194","labels_url":"https://api.github.com/repos/hadley/dplyr/issues/1194/labels{/name}","comments_url":"https://api.github.com/repos/hadley/dplyr/issues/1194/comments","events_url":"https://api.github.com/repos/hadley/dplyr/issues/1194/events","html_url":"https://github.com/hadley/dplyr/issues/1194","id":84061178,"number":1194,"title":"Feature or bug? data_frame_ on a vector","user":{"login":"JasonAizkalns","id":5184911,"avatar_url":"https://avatars.githubusercontent.com/u/5184911?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonAizkalns","html_url":"https://github.com/JasonAizkalns","followers_url":"https://api.github.com/users/JasonAizkalns/followers","following_url":"https://api.github.com/users/JasonAizkalns/following{/other_user}","gists_url":"https://api.github.com/users/JasonAizkalns/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonAizkalns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonAizkalns/subscriptions","organizations_url":"https://api.github.com/users/JasonAizkalns/orgs","repos_url":"https://api.github.com/users/JasonAizkalns/repos","events_url":"https://api.github.com/users/JasonAizkalns/events{/privacy}","received_events_url":"https://api.github.com/users/JasonAizkalns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T14:57:49Z","updated_at":"2015-06-02T14:57:49Z","closed_at":null,"body":"See this [SO post](http://stackoverflow.com/questions/30597522/what-is-the-dplyr-equivalent-of-plyrldplytapply-in-r/30597803#30597803) with specific attention to [this answer](http://stackoverflow.com/a/30598149/2572423).\r\n\r\nIs this the intended behavior of `data_frame_`:\r\n\r\n```{r}\r\nprobs = seq(0, 1, 0.1)\r\nmtcars %>% \r\n  group_by(cyl) %>% \r\n  do(data_frame_(quantile(.$mpg, probs = probs)))\r\n## Source: local data frame [3 x 12]\r\n## Groups: cyl\r\n## \r\n##   cyl   0%   10%   20%   30%   40%  50%   60%   70%   80%   90% 100%\r\n## 1   4 21.4 21.50 22.80 22.80 24.40 26.0 27.30 30.40 30.40 32.40 33.9\r\n## 2   6 17.8 17.98 18.32 18.98 19.40 19.7 20.48 21.00 21.00 21.16 21.4\r\n## 3   8 10.4 11.27 13.90 14.66 15.04 15.2 15.44 15.86 16.76 18.28 19.2\r\n```"}}