{"action":"created","issue":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/479","repository_url":"https://api.github.com/repos/STAT545-UBC/Discussion","labels_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/479/comments","events_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/479/events","html_url":"https://github.com/STAT545-UBC/Discussion/issues/479","id":207018284,"number":479,"title":"Using read_tsv does not parse rows into separate columns","user":{"login":"aramcb","id":22034883,"avatar_url":"https://avatars.githubusercontent.com/u/22034883?v=3","gravatar_id":"","url":"https://api.github.com/users/aramcb","html_url":"https://github.com/aramcb","followers_url":"https://api.github.com/users/aramcb/followers","following_url":"https://api.github.com/users/aramcb/following{/other_user}","gists_url":"https://api.github.com/users/aramcb/gists{/gist_id}","starred_url":"https://api.github.com/users/aramcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aramcb/subscriptions","organizations_url":"https://api.github.com/users/aramcb/orgs","repos_url":"https://api.github.com/users/aramcb/repos","events_url":"https://api.github.com/users/aramcb/events{/privacy}","received_events_url":"https://api.github.com/users/aramcb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-12T00:14:00Z","updated_at":"2017-02-13T04:10:30Z","closed_at":null,"body":"Hi,\r\n\r\nI have a text file below with the following numbers. When I import it via read_tsv, however, I get a tibble/data-frame with 3 rows and 1 column. How do I get it to parse the rows using the white-space?\r\nThanks!\r\n\r\n179.989   0 4 26   0.945 0.496 0.099\r\n189.967   1 8 21   0.945 0.496 0.099\r\n199.985   0 6 32   0.945 0.496 0.099"},"comment":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/comments/279290509","html_url":"https://github.com/STAT545-UBC/Discussion/issues/479#issuecomment-279290509","issue_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/479","id":279290509,"user":{"login":"ksedivyhaley","id":19938275,"avatar_url":"https://avatars.githubusercontent.com/u/19938275?v=3","gravatar_id":"","url":"https://api.github.com/users/ksedivyhaley","html_url":"https://github.com/ksedivyhaley","followers_url":"https://api.github.com/users/ksedivyhaley/followers","following_url":"https://api.github.com/users/ksedivyhaley/following{/other_user}","gists_url":"https://api.github.com/users/ksedivyhaley/gists{/gist_id}","starred_url":"https://api.github.com/users/ksedivyhaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksedivyhaley/subscriptions","organizations_url":"https://api.github.com/users/ksedivyhaley/orgs","repos_url":"https://api.github.com/users/ksedivyhaley/repos","events_url":"https://api.github.com/users/ksedivyhaley/events{/privacy}","received_events_url":"https://api.github.com/users/ksedivyhaley/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T04:10:30Z","updated_at":"2017-02-13T04:10:30Z","body":"read_tsv() is for tab-separated files. I expect it is set to use tabs\nspecifically as the delim, not just any white space characters. That would\nbe important if you have a tsv in which some entries have spaces - for\nexample a \"Country\" field including \"South Africa.\"\n\nOn Sun, Feb 12, 2017 at 7:50 PM, aramcb <notifications@github.com> wrote:\n\n> @ksedivyhaley <https://github.com/ksedivyhaley>. Yes thanks! I know that\n> works! (I've been using also read.table(), but I'm wondering why read_tsv\n> doesn't work in this scenario?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/STAT545-UBC/Discussion/issues/479#issuecomment-279288634>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ATA74_PdXvSfJTDXA_DqUnTyYxBdBz14ks5rb9LxgaJpZM4L-WB1>\n> .\n>\n"}}
{"actor":{"display_login":"ksedivyhaley"}}