Here's JIRA issue. https://issues.apache.org/jira/browse/ZEPPELIN-1230.
It's not been addressed, yet.

Thanks,
moon

On Sat, Sep 3, 2016 at 11:28 PM Arvind Kandaswamy <aravind.ka...@gmail.com>
wrote:

> When running the summary of lm, the zeppelin r version does not include
> full output. E.g. the following is returned in Windows R Studio
>
> > baseball=read.csv("baseball.csv")
> > moneyball = lm(baseball$W ~ baseball$RS, baseball)
> > summary(moneyball)
>
> Call:
> lm(formula = baseball$W ~ baseball$RS, data = baseball)
>
> Residuals:
>     Min      1Q  Median      3Q     Max
> -34.621  -7.159   0.334   6.995  24.920
>
> Coefficients:
>              Estimate Std. Error t value Pr(>|t|)
> (Intercept) 35.096418   2.210663   15.88   <2e-16 ***
> baseball$RS  0.064060   0.003066   20.89   <2e-16 ***
> ---
> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> Residual standard error: 9.848 on 1230 degrees of freedom
> Multiple R-squared:  0.2619,    Adjusted R-squared:  0.2613
> F-statistic: 436.4 on 1 and 1230 DF,  p-value: < 2.2e-16
>
> If you try these same commands in Zeppelin with R interpreter, the summary
> returns only the first two lines viz. the function description.
>
> %r
> baseball = read.csv("/local/Downloads/baseball.csv")
> moneyball = lm(baseball$W ~ baseball$RS, baseball)
> summary(moneyball)
>
> I am using 0.6.1 build.
>
> This issue was previously reported:
> http://mail-archives.apache.org/mod_mbox/incubator-zeppelin-users/201608.mbox/%3c57a0e643.9080...@apache.org%3E
>
> Wondering if it is a confirmed bug or is there a workaround?
>
>

Reply via email to