{"action":"created","comment":{"url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/comments/77277958","id":77277958,"diff_hunk":"@@ -255,18 +257,24 @@ shinyServer(\n     output$freqTable <- renderTable({#validation done before this is called, no need to repeat\n       if (!valAuth) return;#break processing of not authorized.\n       pdata = getpData(input$filter, serverDataDic, serverData)\n-      addmargins(table(pdata[,c(input$xVal,input$yVal)]))\n-    })\n+      if(input$xVal==input$yVal) {\n+        data.frame(Counts=cbind(summary(pdata[,input$xVal])))\n+      } else {\n+        as.data.frame.matrix(addmargins(table(pdata[,c(input$xVal,input$yVal)])))\n+      }\n+    },rownames=T)","path":"tabsie/server.R","position":34,"original_position":34,"commit_id":"e623e2192ec193ca42dda8d4e502af73b38cc77a","original_commit_id":"e623e2192ec193ca42dda8d4e502af73b38cc77a","user":{"login":"bokov","id":5765730,"avatar_url":"https://avatars.githubusercontent.com/u/5765730?v=3","gravatar_id":"","url":"https://api.github.com/users/bokov","html_url":"https://github.com/bokov","followers_url":"https://api.github.com/users/bokov/followers","following_url":"https://api.github.com/users/bokov/following{/other_user}","gists_url":"https://api.github.com/users/bokov/gists{/gist_id}","starred_url":"https://api.github.com/users/bokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bokov/subscriptions","organizations_url":"https://api.github.com/users/bokov/orgs","repos_url":"https://api.github.com/users/bokov/repos","events_url":"https://api.github.com/users/bokov/events{/privacy}","received_events_url":"https://api.github.com/users/bokov/received_events","type":"User","site_admin":false},"body":"Note the `rownames=T` outside the expression block. Finally figured out how to do that. The unlabeled rows were driving me nuts.","created_at":"2016-09-02T00:36:03Z","updated_at":"2016-09-02T00:36:03Z","html_url":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1#discussion_r77277958","pull_request_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/comments/77277958"},"html":{"href":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1#discussion_r77277958"},"pull_request":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1","id":83728580,"html_url":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1","diff_url":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1.diff","patch_url":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1.patch","issue_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/1","number":1,"state":"open","locked":false,"title":"Bokov tables","user":{"login":"bokov","id":5765730,"avatar_url":"https://avatars.githubusercontent.com/u/5765730?v=3","gravatar_id":"","url":"https://api.github.com/users/bokov","html_url":"https://github.com/bokov","followers_url":"https://api.github.com/users/bokov/followers","following_url":"https://api.github.com/users/bokov/following{/other_user}","gists_url":"https://api.github.com/users/bokov/gists{/gist_id}","starred_url":"https://api.github.com/users/bokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bokov/subscriptions","organizations_url":"https://api.github.com/users/bokov/orgs","repos_url":"https://api.github.com/users/bokov/repos","events_url":"https://api.github.com/users/bokov/events{/privacy}","received_events_url":"https://api.github.com/users/bokov/received_events","type":"User","site_admin":false},"body":"These are some minor fixes and tweaks, which will I will document near the individual lines they occur.\r\n\r\nThe logging functionality (except one line that doesn't do anything yet) is in a different branch, which is not ready to merge yet (though ready to play with).\r\n\r\nOur first formal pull request! Yay.","created_at":"2016-09-02T00:25:28Z","updated_at":"2016-09-02T00:36:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58083a516c826c74ac3538a5070432be3579ce5d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1/commits","review_comments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1/comments","review_comment_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/1/comments","statuses_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/statuses/e623e2192ec193ca42dda8d4e502af73b38cc77a","head":{"label":"UTHSCSA-CIRD:bokov_tables","ref":"bokov_tables","sha":"e623e2192ec193ca42dda8d4e502af73b38cc77a","user":{"login":"UTHSCSA-CIRD","id":7718072,"avatar_url":"https://avatars.githubusercontent.com/u/7718072?v=3","gravatar_id":"","url":"https://api.github.com/users/UTHSCSA-CIRD","html_url":"https://github.com/UTHSCSA-CIRD","followers_url":"https://api.github.com/users/UTHSCSA-CIRD/followers","following_url":"https://api.github.com/users/UTHSCSA-CIRD/following{/other_user}","gists_url":"https://api.github.com/users/UTHSCSA-CIRD/gists{/gist_id}","starred_url":"https://api.github.com/users/UTHSCSA-CIRD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UTHSCSA-CIRD/subscriptions","organizations_url":"https://api.github.com/users/UTHSCSA-CIRD/orgs","repos_url":"https://api.github.com/users/UTHSCSA-CIRD/repos","events_url":"https://api.github.com/users/UTHSCSA-CIRD/events{/privacy}","received_events_url":"https://api.github.com/users/UTHSCSA-CIRD/received_events","type":"Organization","site_admin":false},"repo":{"id":65335868,"name":"TABSIE","full_name":"UTHSCSA-CIRD/TABSIE","owner":{"login":"UTHSCSA-CIRD","id":7718072,"avatar_url":"https://avatars.githubusercontent.com/u/7718072?v=3","gravatar_id":"","url":"https://api.github.com/users/UTHSCSA-CIRD","html_url":"https://github.com/UTHSCSA-CIRD","followers_url":"https://api.github.com/users/UTHSCSA-CIRD/followers","following_url":"https://api.github.com/users/UTHSCSA-CIRD/following{/other_user}","gists_url":"https://api.github.com/users/UTHSCSA-CIRD/gists{/gist_id}","starred_url":"https://api.github.com/users/UTHSCSA-CIRD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UTHSCSA-CIRD/subscriptions","organizations_url":"https://api.github.com/users/UTHSCSA-CIRD/orgs","repos_url":"https://api.github.com/users/UTHSCSA-CIRD/repos","events_url":"https://api.github.com/users/UTHSCSA-CIRD/events{/privacy}","received_events_url":"https://api.github.com/users/UTHSCSA-CIRD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UTHSCSA-CIRD/TABSIE","description":"Table Ananlyzer, Browser, and Summarizer for Informatics Exploration","fork":false,"url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE","forks_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/forks","keys_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/teams","hooks_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/hooks","issue_events_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/events{/number}","events_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/events","assignees_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/assignees{/user}","branches_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/branches{/branch}","tags_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/tags","blobs_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/refs{/sha}","trees_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/statuses/{sha}","languages_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/languages","stargazers_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/stargazers","contributors_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/contributors","subscribers_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/subscribers","subscription_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/subscription","commits_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/commits{/sha}","git_commits_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/commits{/sha}","comments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/comments{/number}","issue_comment_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/comments{/number}","contents_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/contents/{+path}","compare_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/merges","archive_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/downloads","issues_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues{/number}","pulls_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls{/number}","milestones_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/milestones{/number}","notifications_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/labels{/name}","releases_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/releases{/id}","deployments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/deployments","created_at":"2016-08-09T23:50:13Z","updated_at":"2016-08-09T23:54:13Z","pushed_at":"2016-09-02T00:25:28Z","git_url":"git://github.com/UTHSCSA-CIRD/TABSIE.git","ssh_url":"git@github.com:UTHSCSA-CIRD/TABSIE.git","clone_url":"https://github.com/UTHSCSA-CIRD/TABSIE.git","svn_url":"https://github.com/UTHSCSA-CIRD/TABSIE","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"UTHSCSA-CIRD:integration","ref":"integration","sha":"615e64e28b38f73d8f465d743e0a32ef3a16e882","user":{"login":"UTHSCSA-CIRD","id":7718072,"avatar_url":"https://avatars.githubusercontent.com/u/7718072?v=3","gravatar_id":"","url":"https://api.github.com/users/UTHSCSA-CIRD","html_url":"https://github.com/UTHSCSA-CIRD","followers_url":"https://api.github.com/users/UTHSCSA-CIRD/followers","following_url":"https://api.github.com/users/UTHSCSA-CIRD/following{/other_user}","gists_url":"https://api.github.com/users/UTHSCSA-CIRD/gists{/gist_id}","starred_url":"https://api.github.com/users/UTHSCSA-CIRD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UTHSCSA-CIRD/subscriptions","organizations_url":"https://api.github.com/users/UTHSCSA-CIRD/orgs","repos_url":"https://api.github.com/users/UTHSCSA-CIRD/repos","events_url":"https://api.github.com/users/UTHSCSA-CIRD/events{/privacy}","received_events_url":"https://api.github.com/users/UTHSCSA-CIRD/received_events","type":"Organization","site_admin":false},"repo":{"id":65335868,"name":"TABSIE","full_name":"UTHSCSA-CIRD/TABSIE","owner":{"login":"UTHSCSA-CIRD","id":7718072,"avatar_url":"https://avatars.githubusercontent.com/u/7718072?v=3","gravatar_id":"","url":"https://api.github.com/users/UTHSCSA-CIRD","html_url":"https://github.com/UTHSCSA-CIRD","followers_url":"https://api.github.com/users/UTHSCSA-CIRD/followers","following_url":"https://api.github.com/users/UTHSCSA-CIRD/following{/other_user}","gists_url":"https://api.github.com/users/UTHSCSA-CIRD/gists{/gist_id}","starred_url":"https://api.github.com/users/UTHSCSA-CIRD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UTHSCSA-CIRD/subscriptions","organizations_url":"https://api.github.com/users/UTHSCSA-CIRD/orgs","repos_url":"https://api.github.com/users/UTHSCSA-CIRD/repos","events_url":"https://api.github.com/users/UTHSCSA-CIRD/events{/privacy}","received_events_url":"https://api.github.com/users/UTHSCSA-CIRD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UTHSCSA-CIRD/TABSIE","description":"Table Ananlyzer, Browser, and Summarizer for Informatics Exploration","fork":false,"url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE","forks_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/forks","keys_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/teams","hooks_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/hooks","issue_events_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/events{/number}","events_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/events","assignees_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/assignees{/user}","branches_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/branches{/branch}","tags_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/tags","blobs_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/refs{/sha}","trees_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/statuses/{sha}","languages_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/languages","stargazers_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/stargazers","contributors_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/contributors","subscribers_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/subscribers","subscription_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/subscription","commits_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/commits{/sha}","git_commits_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/git/commits{/sha}","comments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/comments{/number}","issue_comment_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/comments{/number}","contents_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/contents/{+path}","compare_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/merges","archive_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/downloads","issues_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues{/number}","pulls_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls{/number}","milestones_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/milestones{/number}","notifications_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/labels{/name}","releases_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/releases{/id}","deployments_url":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/deployments","created_at":"2016-08-09T23:50:13Z","updated_at":"2016-08-09T23:54:13Z","pushed_at":"2016-09-02T00:25:28Z","git_url":"git://github.com/UTHSCSA-CIRD/TABSIE.git","ssh_url":"git@github.com:UTHSCSA-CIRD/TABSIE.git","clone_url":"https://github.com/UTHSCSA-CIRD/TABSIE.git","svn_url":"https://github.com/UTHSCSA-CIRD/TABSIE","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1"},"html":{"href":"https://github.com/UTHSCSA-CIRD/TABSIE/pull/1"},"issue":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/1"},"comments":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/UTHSCSA-CIRD/TABSIE/statuses/e623e2192ec193ca42dda8d4e502af73b38cc77a"}}}}
{"actor":{"display_login":"bokov"}}