{"action":"opened","issue":{"url":"https://api.github.com/repos/jeroenooms/opencpu/issues/162","labels_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/162/comments","events_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/162/events","html_url":"https://github.com/jeroenooms/opencpu/issues/162","id":109026070,"number":162,"title":"How to read a local file on cloud?","user":{"login":"alliquot","id":9018389,"avatar_url":"https://avatars.githubusercontent.com/u/9018389?v=3","gravatar_id":"","url":"https://api.github.com/users/alliquot","html_url":"https://github.com/alliquot","followers_url":"https://api.github.com/users/alliquot/followers","following_url":"https://api.github.com/users/alliquot/following{/other_user}","gists_url":"https://api.github.com/users/alliquot/gists{/gist_id}","starred_url":"https://api.github.com/users/alliquot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alliquot/subscriptions","organizations_url":"https://api.github.com/users/alliquot/orgs","repos_url":"https://api.github.com/users/alliquot/repos","events_url":"https://api.github.com/users/alliquot/events{/privacy}","received_events_url":"https://api.github.com/users/alliquot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T06:43:11Z","updated_at":"2015-09-30T06:43:11Z","closed_at":null,"body":"Dear Jeroen,\r\nI have some SQL scripts and RMD reports just to keep things separated from R code. I'd like to load them at runtime and process.\r\nWhen I'm trying to load them like file(\"somefile.sql\") or render(\"somereport.rmd\"), I receive a message:\r\n\r\nfile 'Report1.rmd' does not exist\r\nIn call:\r\ntools::file_path_as_absolute(input)\r\n\r\nHow to read \"local\" files (CSV, rmd, sql etc)?"}}