{"action":"created","issue":{"url":"https://api.github.com/repos/dselivanov/text2vec/issues/84","repository_url":"https://api.github.com/repos/dselivanov/text2vec","labels_url":"https://api.github.com/repos/dselivanov/text2vec/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/dselivanov/text2vec/issues/84/comments","events_url":"https://api.github.com/repos/dselivanov/text2vec/issues/84/events","html_url":"https://github.com/dselivanov/text2vec/issues/84","id":143345939,"number":84,"title":"Change default version of DTM matrix?","user":{"login":"lmullen","id":183672,"avatar_url":"https://avatars.githubusercontent.com/u/183672?v=3","gravatar_id":"","url":"https://api.github.com/users/lmullen","html_url":"https://github.com/lmullen","followers_url":"https://api.github.com/users/lmullen/followers","following_url":"https://api.github.com/users/lmullen/following{/other_user}","gists_url":"https://api.github.com/users/lmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/lmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmullen/subscriptions","organizations_url":"https://api.github.com/users/lmullen/orgs","repos_url":"https://api.github.com/users/lmullen/repos","events_url":"https://api.github.com/users/lmullen/events{/privacy}","received_events_url":"https://api.github.com/users/lmullen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dselivanov/text2vec/labels/discussion","name":"discussion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"dselivanov","id":5123805,"avatar_url":"https://avatars.githubusercontent.com/u/5123805?v=3","gravatar_id":"","url":"https://api.github.com/users/dselivanov","html_url":"https://github.com/dselivanov","followers_url":"https://api.github.com/users/dselivanov/followers","following_url":"https://api.github.com/users/dselivanov/following{/other_user}","gists_url":"https://api.github.com/users/dselivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dselivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dselivanov/subscriptions","organizations_url":"https://api.github.com/users/dselivanov/orgs","repos_url":"https://api.github.com/users/dselivanov/repos","events_url":"https://api.github.com/users/dselivanov/events{/privacy}","received_events_url":"https://api.github.com/users/dselivanov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dselivanov/text2vec/milestones/2","html_url":"https://github.com/dselivanov/text2vec/milestones/0.3","labels_url":"https://api.github.com/repos/dselivanov/text2vec/milestones/2/labels","id":1577595,"number":2,"title":"0.3","description":"","creator":{"login":"dselivanov","id":5123805,"avatar_url":"https://avatars.githubusercontent.com/u/5123805?v=3","gravatar_id":"","url":"https://api.github.com/users/dselivanov","html_url":"https://github.com/dselivanov","followers_url":"https://api.github.com/users/dselivanov/followers","following_url":"https://api.github.com/users/dselivanov/following{/other_user}","gists_url":"https://api.github.com/users/dselivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dselivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dselivanov/subscriptions","organizations_url":"https://api.github.com/users/dselivanov/orgs","repos_url":"https://api.github.com/users/dselivanov/repos","events_url":"https://api.github.com/users/dselivanov/events{/privacy}","received_events_url":"https://api.github.com/users/dselivanov/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":5,"state":"open","created_at":"2016-02-11T12:41:29Z","updated_at":"2016-03-25T06:15:44Z","due_on":"2016-03-30T21:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-24T20:03:37Z","updated_at":"2016-03-25T11:15:29Z","closed_at":null,"body":"In `get_dtm()` and `create_dtm()` the default type of matrix is a `dgCMatrix`. But under the hood text2vec uses a `dgTMatrix` itself for `create_dtm()` then coerces that `dgCMatrix` if asked. Why not just keep make `dgTMatrix` the default and provide an option to go to `dgCMatrix`? For myself, I prefer the `dgTMatrix` format because in some applications I like to convert it to a data frame, and it is trivial to do so with a `dgTMatrix`. \r\n\r\nI can send a PR if this change is okay with you."},"comment":{"url":"https://api.github.com/repos/dselivanov/text2vec/issues/comments/201243209","html_url":"https://github.com/dselivanov/text2vec/issues/84#issuecomment-201243209","issue_url":"https://api.github.com/repos/dselivanov/text2vec/issues/84","id":201243209,"user":{"login":"dselivanov","id":5123805,"avatar_url":"https://avatars.githubusercontent.com/u/5123805?v=3","gravatar_id":"","url":"https://api.github.com/users/dselivanov","html_url":"https://github.com/dselivanov","followers_url":"https://api.github.com/users/dselivanov/followers","following_url":"https://api.github.com/users/dselivanov/following{/other_user}","gists_url":"https://api.github.com/users/dselivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dselivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dselivanov/subscriptions","organizations_url":"https://api.github.com/users/dselivanov/orgs","repos_url":"https://api.github.com/users/dselivanov/repos","events_url":"https://api.github.com/users/dselivanov/events{/privacy}","received_events_url":"https://api.github.com/users/dselivanov/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T11:15:29Z","updated_at":"2016-03-25T11:15:29Z","body":"@zachmayer, such [option](https://github.com/dselivanov/text2vec/blob/0.3/R/dtm.R#L86-L90) exists from the very beginning... But what should be the default, that is the question. I tend to make `dgTMatrix` as default format, but want to hear arguments against this decision."}}