{"action":"created","issue":{"url":"https://api.github.com/repos/ggobi/ggally/issues/208","repository_url":"https://api.github.com/repos/ggobi/ggally","labels_url":"https://api.github.com/repos/ggobi/ggally/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/ggobi/ggally/issues/208/comments","events_url":"https://api.github.com/repos/ggobi/ggally/issues/208/events","html_url":"https://github.com/ggobi/ggally/pull/208","id":187107379,"number":208,"title":"use a labeller for expressions in ggmatrix print","user":{"login":"schloerke","id":93231,"avatar_url":"https://avatars.githubusercontent.com/u/93231?v=3","gravatar_id":"","url":"https://api.github.com/users/schloerke","html_url":"https://github.com/schloerke","followers_url":"https://api.github.com/users/schloerke/followers","following_url":"https://api.github.com/users/schloerke/following{/other_user}","gists_url":"https://api.github.com/users/schloerke/gists{/gist_id}","starred_url":"https://api.github.com/users/schloerke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schloerke/subscriptions","organizations_url":"https://api.github.com/users/schloerke/orgs","repos_url":"https://api.github.com/users/schloerke/repos","events_url":"https://api.github.com/users/schloerke/events{/privacy}","received_events_url":"https://api.github.com/users/schloerke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-03T16:00:55Z","updated_at":"2016-11-03T19:38:15Z","closed_at":"2016-11-03T18:43:50Z","pull_request":{"url":"https://api.github.com/repos/ggobi/ggally/pulls/208","html_url":"https://github.com/ggobi/ggally/pull/208","diff_url":"https://github.com/ggobi/ggally/pull/208.diff","patch_url":"https://github.com/ggobi/ggally/pull/208.patch"},"body":"Fixes #207 \r\n\r\nLogic: \r\n- if label is expression, make into character vector to be able to facet on the \"column\" col\r\n- if label is expression, use `labeller  = label_parsed`, else use `labeller = label_value`\r\n\r\n@jonathan-g   Please install to test on your end.  Thank you for the example!\r\n\r\n```r\r\ndevtools::install_github(\"ggobi/ggally@labeller\")\r\n```\r\n\r\n```{r}\r\nlibrary(tibble)\r\ndf <- data_frame(x = rnorm(100), y= x + rnorm(100,0, 0.1), z = x + y + rnorm(100, 0, 0.1))\r\nggpairs(df, columnLabels = expression(alpha, beta, gamma))\r\n```\r\n![screen shot 2016-11-03 at 11 54 46 am](https://cloud.githubusercontent.com/assets/93231/19973703/5b9a0c26-a1bc-11e6-8714-2bfa06237f7e.png)"},"comment":{"url":"https://api.github.com/repos/ggobi/ggally/issues/comments/258251337","html_url":"https://github.com/ggobi/ggally/pull/208#issuecomment-258251337","issue_url":"https://api.github.com/repos/ggobi/ggally/issues/208","id":258251337,"user":{"login":"jonathan-g","id":5304060,"avatar_url":"https://avatars.githubusercontent.com/u/5304060?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-g","html_url":"https://github.com/jonathan-g","followers_url":"https://api.github.com/users/jonathan-g/followers","following_url":"https://api.github.com/users/jonathan-g/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-g/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-g/subscriptions","organizations_url":"https://api.github.com/users/jonathan-g/orgs","repos_url":"https://api.github.com/users/jonathan-g/repos","events_url":"https://api.github.com/users/jonathan-g/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-g/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T19:38:15Z","updated_at":"2016-11-03T19:38:15Z","body":"This works for alpha, beta, gamma, but fails for more complicated expressions, such as \r\n`ggpairs(df, columnLabels = expression(alpha[0], beta[x], gamma[x + y^z]))`\r\n\r\n"}}
{"actor":{"display_login":"jonathan-g"}}