{"action":"created","issue":{"url":"https://api.github.com/repos/armstrtw/rzmq/issues/17","labels_url":"https://api.github.com/repos/armstrtw/rzmq/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/armstrtw/rzmq/issues/17/comments","events_url":"https://api.github.com/repos/armstrtw/rzmq/issues/17/events","html_url":"https://github.com/armstrtw/rzmq/issues/17","id":73898799,"number":17,"title":"how can I close an opened zmq socket in R?","user":{"login":"cronacronis","id":9478523,"avatar_url":"https://avatars.githubusercontent.com/u/9478523?v=3","gravatar_id":"","url":"https://api.github.com/users/cronacronis","html_url":"https://github.com/cronacronis","followers_url":"https://api.github.com/users/cronacronis/followers","following_url":"https://api.github.com/users/cronacronis/following{/other_user}","gists_url":"https://api.github.com/users/cronacronis/gists{/gist_id}","starred_url":"https://api.github.com/users/cronacronis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cronacronis/subscriptions","organizations_url":"https://api.github.com/users/cronacronis/orgs","repos_url":"https://api.github.com/users/cronacronis/repos","events_url":"https://api.github.com/users/cronacronis/events{/privacy}","received_events_url":"https://api.github.com/users/cronacronis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-07T08:38:25Z","updated_at":"2015-05-11T13:41:36Z","closed_at":null,"body":"```R\r\n  port = 1111\r\n  zmq_context <- init.context()\r\n  zmq_service.socket <- init.socket(zmq_context,\"ZMQ_REQ\")\r\n  connect.socket(zmq_service.socket, paste(\"tcp://127.0.0.1:\", port, sep = \"\"))\r\n```\r\nAs I see it, I can just remove the object and expect garbage collector to waste it.\r\n```R\r\n  rm(zmq_service.socket, zmq_context)\r\n```"},"comment":{"url":"https://api.github.com/repos/armstrtw/rzmq/issues/comments/100911276","html_url":"https://github.com/armstrtw/rzmq/issues/17#issuecomment-100911276","issue_url":"https://api.github.com/repos/armstrtw/rzmq/issues/17","id":100911276,"user":{"login":"armstrtw","id":48746,"avatar_url":"https://avatars.githubusercontent.com/u/48746?v=3","gravatar_id":"","url":"https://api.github.com/users/armstrtw","html_url":"https://github.com/armstrtw","followers_url":"https://api.github.com/users/armstrtw/followers","following_url":"https://api.github.com/users/armstrtw/following{/other_user}","gists_url":"https://api.github.com/users/armstrtw/gists{/gist_id}","starred_url":"https://api.github.com/users/armstrtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armstrtw/subscriptions","organizations_url":"https://api.github.com/users/armstrtw/orgs","repos_url":"https://api.github.com/users/armstrtw/repos","events_url":"https://api.github.com/users/armstrtw/events{/privacy}","received_events_url":"https://api.github.com/users/armstrtw/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T13:41:36Z","updated_at":"2015-05-11T13:41:36Z","body":"This has been committed.  Please test."}}