{"action":"created","issue":{"url":"https://api.github.com/repos/gluc/data.tree/issues/29","labels_url":"https://api.github.com/repos/gluc/data.tree/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/gluc/data.tree/issues/29/comments","events_url":"https://api.github.com/repos/gluc/data.tree/issues/29/events","html_url":"https://github.com/gluc/data.tree/issues/29","id":107661069,"number":29,"title":"GetAttribute() alters the dimensions of matrices","user":{"login":"nacnudus","id":3522552,"avatar_url":"https://avatars.githubusercontent.com/u/3522552?v=3","gravatar_id":"","url":"https://api.github.com/users/nacnudus","html_url":"https://github.com/nacnudus","followers_url":"https://api.github.com/users/nacnudus/followers","following_url":"https://api.github.com/users/nacnudus/following{/other_user}","gists_url":"https://api.github.com/users/nacnudus/gists{/gist_id}","starred_url":"https://api.github.com/users/nacnudus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacnudus/subscriptions","organizations_url":"https://api.github.com/users/nacnudus/orgs","repos_url":"https://api.github.com/users/nacnudus/repos","events_url":"https://api.github.com/users/nacnudus/events{/privacy}","received_events_url":"https://api.github.com/users/nacnudus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-22T07:39:52Z","updated_at":"2015-09-22T10:50:42Z","closed_at":null,"body":"Is this intended?\r\n\r\n```r\r\ndata(acme)\r\nacme$matrix <- diag(2)\r\nGetAttribute(acme$root, \"matrix\") \r\n\r\n#      Acme Inc.\r\n# [1,]         1\r\n# [2,]         0\r\n# [3,]         0\r\n# [4,]         1\r\n```"},"comment":{"url":"https://api.github.com/repos/gluc/data.tree/issues/comments/142245205","html_url":"https://github.com/gluc/data.tree/issues/29#issuecomment-142245205","issue_url":"https://api.github.com/repos/gluc/data.tree/issues/29","id":142245205,"user":{"login":"gluc","id":626832,"avatar_url":"https://avatars.githubusercontent.com/u/626832?v=3","gravatar_id":"","url":"https://api.github.com/users/gluc","html_url":"https://github.com/gluc","followers_url":"https://api.github.com/users/gluc/followers","following_url":"https://api.github.com/users/gluc/following{/other_user}","gists_url":"https://api.github.com/users/gluc/gists{/gist_id}","starred_url":"https://api.github.com/users/gluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluc/subscriptions","organizations_url":"https://api.github.com/users/gluc/orgs","repos_url":"https://api.github.com/users/gluc/repos","events_url":"https://api.github.com/users/gluc/events{/privacy}","received_events_url":"https://api.github.com/users/gluc/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T10:50:42Z","updated_at":"2015-09-22T10:50:42Z","body":"Thx for this, that is certainly not intended. Let's say, for now it is not supported ;-)\r\n\r\nAs of now, Get (and thus GetAttribute) only supports single values. However, you can always access a vector or matrix in a node directly, e.g. in your example `acme$matrix`.\r\n\r\nOf course support for matrices and vectors is highly desirable, so I hijack your bug report and turn it into a feature request, if that's ok."}}