[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998251#comment-14998251 ] Yanbo Liang commented on SPARK-11587: - [~shivaram] Thanks for your patch, it works well. > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang >Assignee: Shivaram Venkataraman >Priority: Critical > Fix For: 1.6.0 > > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997967#comment-14997967 ] Shivaram Venkataraman commented on SPARK-11587: --- [~yanboliang] Let me know if the fix works as expected. > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang >Assignee: Shivaram Venkataraman >Priority: Critical > Fix For: 1.6.0 > > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997842#comment-14997842 ] Apache Spark commented on SPARK-11587: -- User 'shivaram' has created a pull request for this issue: https://github.com/apache/spark/pull/9582 > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang >Priority: Critical > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997750#comment-14997750 ] Felix Cheung commented on SPARK-11587: -- [~shivaram] here's the list SPARK-11339 (which includes summary) > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang >Priority: Critical > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997748#comment-14997748 ] Shivaram Venkataraman commented on SPARK-11587: --- I found the problem. Working on a PR > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang >Priority: Critical > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997035#comment-14997035 ] Shivaram Venkataraman commented on SPARK-11587: --- cc [~sunrui] We should fix this - We have a number of other DataFrame methods which override things correctly. > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R, SparkR >Reporter: Yanbo Liang > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996182#comment-14996182 ] Yanbo Liang commented on SPARK-11587: - [~mengxr] > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R >Reporter: Yanbo Liang > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-11587) SparkR can not use summary.glm from base R
[ https://issues.apache.org/jira/browse/SPARK-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996180#comment-14996180 ] Yanbo Liang commented on SPARK-11587: - Further more, I found that only "summary" method in package SparkR, others are in package stats. {code} > showMethods("summary") Function: summary (package SparkR) x="DataFrame" x="PipelineModel" > showMethods("glm") Function: glm (package stats) formula="ANY", family="ANY", data="ANY" formula="formula", family="ANY", data="DataFrame" formula="formula", family="missing", data="data.frame" (inherited from: formula="ANY", family="ANY", data="ANY") > showMethods("predict") Function: predict (package stats) object="ANY" object="PipelineModel" {code} > SparkR can not use summary.glm from base R > -- > > Key: SPARK-11587 > URL: https://issues.apache.org/jira/browse/SPARK-11587 > Project: Spark > Issue Type: Bug > Components: ML, R >Reporter: Yanbo Liang > > When we use summary method of base R(not method of SparkR) in SparkR console: > {code} > model <- glm(Sepal.Width ~ Sepal.Length + Species, data = iris) > summary(model) > {code} > It returns > {code} > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ‘summary’ for signature > ‘"glm”’ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org