{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/sparklyr/issues/60","repository_url":"https://api.github.com/repos/rstudio/sparklyr","labels_url":"https://api.github.com/repos/rstudio/sparklyr/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/sparklyr/issues/60/comments","events_url":"https://api.github.com/repos/rstudio/sparklyr/issues/60/events","html_url":"https://github.com/rstudio/sparklyr/issues/60","id":163310904,"number":60,"title":"Add .toPMML spark methods for MLlib into sparklyr","user":{"login":"TaylorAndrew","id":13219276,"avatar_url":"https://avatars.githubusercontent.com/u/13219276?v=3","gravatar_id":"","url":"https://api.github.com/users/TaylorAndrew","html_url":"https://github.com/TaylorAndrew","followers_url":"https://api.github.com/users/TaylorAndrew/followers","following_url":"https://api.github.com/users/TaylorAndrew/following{/other_user}","gists_url":"https://api.github.com/users/TaylorAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/TaylorAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaylorAndrew/subscriptions","organizations_url":"https://api.github.com/users/TaylorAndrew/orgs","repos_url":"https://api.github.com/users/TaylorAndrew/repos","events_url":"https://api.github.com/users/TaylorAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/TaylorAndrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-01T03:10:26Z","updated_at":"2016-07-01T14:02:25Z","closed_at":null,"body":"I'm trying export my models as PMML. In scala one would use\r\n\r\nmyModel.toPMML(\"./myModelPMML.xml\")\r\n\r\nI'm not currently seeing a way to do this, nor a way to 'inject' raw scala so that I could do it myself, similar to how I can use `ft_sql_transformer()` to submit raw sql to the SparkSQL database instead of using dplyr language.\r\n\r\nAre either of these two options possible currently, or are they on the horizon?"},"comment":{"url":"https://api.github.com/repos/rstudio/sparklyr/issues/comments/229955060","html_url":"https://github.com/rstudio/sparklyr/issues/60#issuecomment-229955060","issue_url":"https://api.github.com/repos/rstudio/sparklyr/issues/60","id":229955060,"user":{"login":"javierluraschi","id":3478847,"avatar_url":"https://avatars.githubusercontent.com/u/3478847?v=3","gravatar_id":"","url":"https://api.github.com/users/javierluraschi","html_url":"https://github.com/javierluraschi","followers_url":"https://api.github.com/users/javierluraschi/followers","following_url":"https://api.github.com/users/javierluraschi/following{/other_user}","gists_url":"https://api.github.com/users/javierluraschi/gists{/gist_id}","starred_url":"https://api.github.com/users/javierluraschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierluraschi/subscriptions","organizations_url":"https://api.github.com/users/javierluraschi/orgs","repos_url":"https://api.github.com/users/javierluraschi/repos","events_url":"https://api.github.com/users/javierluraschi/events{/privacy}","received_events_url":"https://api.github.com/users/javierluraschi/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T14:02:25Z","updated_at":"2016-07-01T14:02:25Z","body":"@TaylorAndrew The call should not contain a `.` on it. Try this instead `sparkapi::invoke(kmeans$.model, \"toPMML\") `."}}
{"actor":{"display_login":"javierluraschi"}}