{"action":"created","issue":{"url":"https://api.github.com/repos/JGCRI/rgcam/issues/12","repository_url":"https://api.github.com/repos/JGCRI/rgcam","labels_url":"https://api.github.com/repos/JGCRI/rgcam/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/JGCRI/rgcam/issues/12/comments","events_url":"https://api.github.com/repos/JGCRI/rgcam/issues/12/events","html_url":"https://github.com/JGCRI/rgcam/issues/12","id":228088689,"number":12,"title":"addScenario failed ","user":{"login":"emmaliulu","id":20967190,"avatar_url":"https://avatars1.githubusercontent.com/u/20967190?v=3","gravatar_id":"","url":"https://api.github.com/users/emmaliulu","html_url":"https://github.com/emmaliulu","followers_url":"https://api.github.com/users/emmaliulu/followers","following_url":"https://api.github.com/users/emmaliulu/following{/other_user}","gists_url":"https://api.github.com/users/emmaliulu/gists{/gist_id}","starred_url":"https://api.github.com/users/emmaliulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmaliulu/subscriptions","organizations_url":"https://api.github.com/users/emmaliulu/orgs","repos_url":"https://api.github.com/users/emmaliulu/repos","events_url":"https://api.github.com/users/emmaliulu/events{/privacy}","received_events_url":"https://api.github.com/users/emmaliulu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-05-11T18:58:13Z","updated_at":"2017-05-11T21:10:48Z","closed_at":null,"body":"My command line is \r\nprj <- addScenario('database_0','water_constraint.dat','Constraint0','ElecProdbyTechVint.xml')\r\n\r\nI have the database and .xml file under the same directory, when I try to use the addScenario function, I got this error message,\r\n\r\nError in value[[3L]](cond) : \r\n  error reading file Error in file(file, \"r\"): cannot open the connection\r\nIn addition: Warning message:\r\nIn file(file, \"r\") :\r\n  cannot open file 'C:\\Users\\liul564\\AppData\\Local\\Temp\\RtmpQlRUhm\\file1580475e6142.csv': No such file or directory\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JGCRI/rgcam/issues/comments/300918065","html_url":"https://github.com/JGCRI/rgcam/issues/12#issuecomment-300918065","issue_url":"https://api.github.com/repos/JGCRI/rgcam/issues/12","id":300918065,"user":{"login":"pralitp","id":7440455,"avatar_url":"https://avatars1.githubusercontent.com/u/7440455?v=3","gravatar_id":"","url":"https://api.github.com/users/pralitp","html_url":"https://github.com/pralitp","followers_url":"https://api.github.com/users/pralitp/followers","following_url":"https://api.github.com/users/pralitp/following{/other_user}","gists_url":"https://api.github.com/users/pralitp/gists{/gist_id}","starred_url":"https://api.github.com/users/pralitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pralitp/subscriptions","organizations_url":"https://api.github.com/users/pralitp/orgs","repos_url":"https://api.github.com/users/pralitp/repos","events_url":"https://api.github.com/users/pralitp/events{/privacy}","received_events_url":"https://api.github.com/users/pralitp/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T21:10:48Z","updated_at":"2017-05-11T21:10:48Z","body":"Sorry, I should have been more explicit in my earlier post.  Could you try adding:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n```\r\nTo the top of your file and see if that helps?"}}
{"actor":{"display_login":"pralitp"}}