{"action":"created","issue":{"url":"https://api.github.com/repos/bleutner/RStoolbox/issues/5","repository_url":"https://api.github.com/repos/bleutner/RStoolbox","labels_url":"https://api.github.com/repos/bleutner/RStoolbox/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bleutner/RStoolbox/issues/5/comments","events_url":"https://api.github.com/repos/bleutner/RStoolbox/issues/5/events","html_url":"https://github.com/bleutner/RStoolbox/issues/5","id":131274760,"number":5,"title":"I transfer an issue related to memory leak","user":{"login":"datagistips","id":1808948,"avatar_url":"https://avatars.githubusercontent.com/u/1808948?v=3","gravatar_id":"","url":"https://api.github.com/users/datagistips","html_url":"https://github.com/datagistips","followers_url":"https://api.github.com/users/datagistips/followers","following_url":"https://api.github.com/users/datagistips/following{/other_user}","gists_url":"https://api.github.com/users/datagistips/gists{/gist_id}","starred_url":"https://api.github.com/users/datagistips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagistips/subscriptions","organizations_url":"https://api.github.com/users/datagistips/orgs","repos_url":"https://api.github.com/users/datagistips/repos","events_url":"https://api.github.com/users/datagistips/events{/privacy}","received_events_url":"https://api.github.com/users/datagistips/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-04T08:10:37Z","updated_at":"2016-02-05T21:12:54Z","closed_at":"2016-02-04T13:14:49Z","body":"Hi,\r\n\r\nFor one purpose, I had to deploy an R script including RStoobox with an execuatble windows batch to many users.\r\n\r\nI am french and I noticed that the printed accents like é were not displayed well after RStoobox was loaded.\r\n\r\nI contacted an R forum to explain my problem. One person made tests to see what was going on.\r\n\r\nShe wrote the following script named bugged.R\r\n\r\n```\r\ncat(\"\\n\\nà â ï î é è ô ü ç\\n\\n\")\r\nrequire(\"RStoolbox\")\r\ncat(\"\\n\\nà â ï î é è ô ü ç\\n\\n\")\r\n```\r\n\r\n She tested the code against valgrind\r\n`R -d \"valgrind --leak-check=full --show-reachable=yes --xml=yes --xml-file=valgrind_out.xml\" -f bugged.R`\r\n\r\n`grep '<kind>' valgrind_out.xml valgrind_out_good.xml | uniq`\r\n\r\nAnd it gave the following output \r\n```\r\nvalgrind_out.xml:  <kind>Leak_StillReachable</kind>\r\nvalgrind_out.xml:  <kind>Leak_DefinitelyLost</kind>\r\nvalgrind_out.xml:  <kind>Leak_StillReachable</kind>\r\nvalgrind_out.xml:  <kind>Leak_PossiblyLost</kind>\r\nvalgrind_out.xml:  <kind>Leak_StillReachable</kind>\r\nvalgrind_out_good.xml:  <kind>Leak_StillReachable</kind>\r\nvalgrind_out_good.xml:  <kind>Leak_PossiblyLost</kind>\r\nvalgrind_out_good.xml:  <kind>Leak_StillReachable</kind>\r\n```\r\n\r\nTo quote her, she said Leak_DefinietelyLost was a leak of memory and she advised me to warn you about this issue.\r\n\r\nHere is the forum [link ](http://www.developpez.net/forums/d1564087/autres-langages/autres-langages/r/rscript-batch-e-accent-aigue/)\r\n\r\nRStoolbox is an awesome package"},"comment":{"url":"https://api.github.com/repos/bleutner/RStoolbox/issues/comments/180555624","html_url":"https://github.com/bleutner/RStoolbox/issues/5#issuecomment-180555624","issue_url":"https://api.github.com/repos/bleutner/RStoolbox/issues/5","id":180555624,"user":{"login":"bleutner","id":1650314,"avatar_url":"https://avatars.githubusercontent.com/u/1650314?v=3","gravatar_id":"","url":"https://api.github.com/users/bleutner","html_url":"https://github.com/bleutner","followers_url":"https://api.github.com/users/bleutner/followers","following_url":"https://api.github.com/users/bleutner/following{/other_user}","gists_url":"https://api.github.com/users/bleutner/gists{/gist_id}","starred_url":"https://api.github.com/users/bleutner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleutner/subscriptions","organizations_url":"https://api.github.com/users/bleutner/orgs","repos_url":"https://api.github.com/users/bleutner/repos","events_url":"https://api.github.com/users/bleutner/events{/privacy}","received_events_url":"https://api.github.com/users/bleutner/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T21:12:54Z","updated_at":"2016-02-05T21:12:54Z","body":"Hi Eric, \r\n\r\nthanks for letting me know. I've got no clue about what went wrong with this locale switching, so I'm glad updating solved it.\r\n\r\nIndeed, my rusty French will only buy me some bread, but not much more ;-)\r\n\r\n"}}