{"action":"closed","issue":{"url":"https://api.github.com/repos/mdlincoln/clipr/issues/31","repository_url":"https://api.github.com/repos/mdlincoln/clipr","labels_url":"https://api.github.com/repos/mdlincoln/clipr/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/mdlincoln/clipr/issues/31/comments","events_url":"https://api.github.com/repos/mdlincoln/clipr/issues/31/events","html_url":"https://github.com/mdlincoln/clipr/issues/31","id":312095845,"node_id":"MDU6SXNzdWUzMTIwOTU4NDU=","number":31,"title":"Need an extra column name when row.names=TRUE","user":{"login":"kwstat","id":484260,"node_id":"MDQ6VXNlcjQ4NDI2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/484260?v=4","gravatar_id":"","url":"https://api.github.com/users/kwstat","html_url":"https://github.com/kwstat","followers_url":"https://api.github.com/users/kwstat/followers","following_url":"https://api.github.com/users/kwstat/following{/other_user}","gists_url":"https://api.github.com/users/kwstat/gists{/gist_id}","starred_url":"https://api.github.com/users/kwstat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwstat/subscriptions","organizations_url":"https://api.github.com/users/kwstat/orgs","repos_url":"https://api.github.com/users/kwstat/repos","events_url":"https://api.github.com/users/kwstat/events{/privacy}","received_events_url":"https://api.github.com/users/kwstat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mdlincoln","id":4392604,"node_id":"MDQ6VXNlcjQzOTI2MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4392604?v=4","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdlincoln","id":4392604,"node_id":"MDQ6VXNlcjQzOTI2MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4392604?v=4","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-06T19:47:18Z","updated_at":"2018-06-14T04:47:39Z","closed_at":"2018-06-14T04:47:39Z","author_association":"NONE","body":"I'm on Windows 7, if it matters.  When I have an object that I write to the clipboard with row.names=TRUE, the column names need an extra delimiter inserted before the first column name.  Otherwise the column names end up shifted left one column when pasting into Excel.\r\n\r\n```\r\ndat <- matrix(1:4, 2)\r\nrownames(dat) <- c('a','b')\r\ncolnames(dat) <- c('c','d')\r\ndat\r\nlibrary(clipr)\r\nclipr::write_clip(dat, row.names=TRUE, col.names=TRUE, sep=\",\")\r\n# paste content below\r\nc,d\r\na,1,3\r\nb,2,4\r\n```\r\n\r\nThe desired result should look like this (with an extra delimeter in front of \"c\"):\r\n```\r\n,c,d\r\na,1,3\r\nb,2,4\r\n```\r\n"}}
{"actor":{"display_login":"mdlincoln"}}