{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9785","labels_url":"https://api.github.com/repos/apache/spark/issues/9785/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9785/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9785/events","html_url":"https://github.com/apache/spark/pull/9785","id":117487902,"number":9785,"title":"[SPARK-11339][SPARKR] Document the list of functions in R base package that are masked by functions with same name in SparkR","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-18T01:03:48Z","updated_at":"2015-11-18T02:45:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9785","html_url":"https://github.com/apache/spark/pull/9785","diff_url":"https://github.com/apache/spark/pull/9785.diff","patch_url":"https://github.com/apache/spark/pull/9785.patch"},"body":"Added tests for function that are reported as masked, to make sure the base:: or stats:: function can be called.\r\n\r\nFor those we can't call, added them to SparkR programming guide.\r\n\r\nIt would seem to me `table, sample, subset, filter, cov` not working are not actually expected - I investigated/experimented with them but couldn't get them to work. It looks like as they are defined in base or stats they are missing the S3 generic, eg.\r\n```\r\n> methods(\"transform\")\r\n[1] transform,ANY-method       transform.data.frame\r\n[3] transform,DataFrame-method transform.default\r\nsee '?methods' for accessing help and source code\r\n> methods(\"subset\")\r\n[1] subset.data.frame       subset,DataFrame-method subset.default\r\n[4] subset.matrix\r\nsee '?methods' for accessing help and source code\r\nWarning message:\r\nIn .S3methods(generic.function, class, parent.frame()) :\r\n  function 'subset' appears not to be S3 generic; found functions that look like S3 methods\r\n```\r\nAny idea?\r\n\r\nMore information on masking:\r\nhttp://www.ats.ucla.edu/stat/r/faq/referencing_objects.htm\r\nhttp://www.sfu.ca/~sweldon/howTo/guide4.pdf\r\n\r\nThis is what the output doc looks like (minus css):\r\n![image](https://cloud.githubusercontent.com/assets/8969467/11229714/2946e5de-8d4d-11e5-94b0-dda9696b6fdd.png)\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/157580900","html_url":"https://github.com/apache/spark/pull/9785#issuecomment-157580900","issue_url":"https://api.github.com/repos/apache/spark/issues/9785","id":157580900,"user":{"login":"shivaram","id":143893,"avatar_url":"https://avatars.githubusercontent.com/u/143893?v=3","gravatar_id":"","url":"https://api.github.com/users/shivaram","html_url":"https://github.com/shivaram","followers_url":"https://api.github.com/users/shivaram/followers","following_url":"https://api.github.com/users/shivaram/following{/other_user}","gists_url":"https://api.github.com/users/shivaram/gists{/gist_id}","starred_url":"https://api.github.com/users/shivaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivaram/subscriptions","organizations_url":"https://api.github.com/users/shivaram/orgs","repos_url":"https://api.github.com/users/shivaram/repos","events_url":"https://api.github.com/users/shivaram/events{/privacy}","received_events_url":"https://api.github.com/users/shivaram/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T02:45:41Z","updated_at":"2015-11-18T02:45:41Z","body":"For the unicode thing I think there is a problem with the `'` character. Can't we just match the text with some regex like `unable to find.*lag` ?"}}