{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/adv-r/issues/659","labels_url":"https://api.github.com/repos/hadley/adv-r/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/hadley/adv-r/issues/659/comments","events_url":"https://api.github.com/repos/hadley/adv-r/issues/659/events","html_url":"https://github.com/hadley/adv-r/issues/659","id":55851298,"number":659,"title":"Issue with 6.5.2 .Primitive example","user":{"login":"earino","id":3258,"avatar_url":"https://avatars.githubusercontent.com/u/3258?v=3","gravatar_id":"","url":"https://api.github.com/users/earino","html_url":"https://github.com/earino","followers_url":"https://api.github.com/users/earino/followers","following_url":"https://api.github.com/users/earino/following{/other_user}","gists_url":"https://api.github.com/users/earino/gists{/gist_id}","starred_url":"https://api.github.com/users/earino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earino/subscriptions","organizations_url":"https://api.github.com/users/earino/orgs","repos_url":"https://api.github.com/users/earino/repos","events_url":"https://api.github.com/users/earino/events{/privacy}","received_events_url":"https://api.github.com/users/earino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-29T03:21:47Z","updated_at":"2015-01-29T20:20:10Z","closed_at":null,"body":"Greetings from the LA Advanced R Reading Group!\r\n\r\nThe example dealing with .Primitive functions, in which the address doesn't change when you modify a value in a vector, doesn't seem to be true. In our session the address changes:\r\n\r\n    > x <- 1:10\r\n    > address(x)\r\n    [1] \"0x104becdb8\" \r\n    > x[2] <- 7L\r\n    > address(x)\r\n    [1] \"0x101f87a20\"\r\n\r\nWith session info:\r\n\r\n> sessionInfo()\r\nR version 3.1.1 (2014-07-10)\r\nPlatform: x86_64-apple-darwin13.1.0 (64-bit)\r\n\r\nlocale:\r\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets \r\n[6] methods   base     \r\n\r\nother attached packages:\r\n[1] pryr_0.1\r\n\r\nloaded via a namespace (and not attached):\r\n[1] codetools_0.2-8 Rcpp_0.11.3     stringr_0.6.2  \r\n[4] tools_3.1.1    "},"comment":{"url":"https://api.github.com/repos/hadley/adv-r/issues/comments/72096714","html_url":"https://github.com/hadley/adv-r/issues/659#issuecomment-72096714","issue_url":"https://api.github.com/repos/hadley/adv-r/issues/659","id":72096714,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T20:20:10Z","updated_at":"2015-01-29T20:20:10Z","body":"It's the environment view in RStudio - I don't remember whether or not it ends up making a reference to the object"}}