{"action":"created","issue":{"url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/13","labels_url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/13/comments","events_url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/13/events","html_url":"https://github.com/RevolutionAnalytics/rhdfs/issues/13","id":54907858,"number":13,"title":"Error hdfs.read on directory path","user":{"login":"rapidoo","id":143260,"avatar_url":"https://avatars.githubusercontent.com/u/143260?v=3","gravatar_id":"","url":"https://api.github.com/users/rapidoo","html_url":"https://github.com/rapidoo","followers_url":"https://api.github.com/users/rapidoo/followers","following_url":"https://api.github.com/users/rapidoo/following{/other_user}","gists_url":"https://api.github.com/users/rapidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rapidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapidoo/subscriptions","organizations_url":"https://api.github.com/users/rapidoo/orgs","repos_url":"https://api.github.com/users/rapidoo/repos","events_url":"https://api.github.com/users/rapidoo/events{/privacy}","received_events_url":"https://api.github.com/users/rapidoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-20T16:50:11Z","updated_at":"2015-01-26T17:37:39Z","closed_at":null,"body":"```\r\nhdfs.init()\r\nmodelfilename <- \"<PATH_TO_DIRECTORY>\"\r\nmodelfile = hdfs.read(modelfilename, \"r\")\r\nm <- hdfs.read(modelfile)\r\nhead(m)\r\n```\r\n\r\nConsole : \r\n```\r\n> modelfilename <- \"<PATH_TO_DIRECTORY>\"\r\n> modelfile = hdfs.read(modelfilename, \"r\")\r\nError in con$fh : $ operator is invalid for atomic vectors\r\n> m <- hdfs.read(modelfile)\r\n> head(m)\r\n[1] 06 f7 9f 04 50 28\r\n> \r\n```\r\nAccess to data is OK but an error on \"con$fh\""},"comment":{"url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/comments/71501730","html_url":"https://github.com/RevolutionAnalytics/rhdfs/issues/13#issuecomment-71501730","issue_url":"https://api.github.com/repos/RevolutionAnalytics/rhdfs/issues/13","id":71501730,"user":{"login":"rapidoo","id":143260,"avatar_url":"https://avatars.githubusercontent.com/u/143260?v=3","gravatar_id":"","url":"https://api.github.com/users/rapidoo","html_url":"https://github.com/rapidoo","followers_url":"https://api.github.com/users/rapidoo/followers","following_url":"https://api.github.com/users/rapidoo/following{/other_user}","gists_url":"https://api.github.com/users/rapidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rapidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapidoo/subscriptions","organizations_url":"https://api.github.com/users/rapidoo/orgs","repos_url":"https://api.github.com/users/rapidoo/repos","events_url":"https://api.github.com/users/rapidoo/events{/privacy}","received_events_url":"https://api.github.com/users/rapidoo/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T17:37:39Z","updated_at":"2015-01-26T17:37:39Z","body":"Bad manipulation from Rstudio :(\r\n\r\nI had initialized the variable with a file first ...\r\n\r\nSorry about that !\r\n\r\nFred\r\n\r\n> Le 26 janv. 2015 à 18:08, Antonio Piccolboni <notifications@github.com> a écrit :\r\n> \r\n> Thanks for the analysis. But how come head(m) returned data anyway? Are those the first bytes of some file in directory modelfilename?\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> "}}