Thanks. File a jira issue for limiting response size would be appreciated as well.
Best, moon On Sun, Jul 31, 2016 at 6:35 PM Abul Basar <aba...@einext.com> wrote: > Sure, i will log a jira ticket for this issue. Thank you for > investigating the problem. > > Btw, is there a way to set default R response size something around 100 > recs. Currently there is no limit, so for large dataframe, UI freezes. If > there is no existing function, i will log a jira for this. > > - AB > > > On Sunday, 31 July 2016, moon soo Lee <m...@apache.org> wrote: > >> Hi, >> >> Thanks for reporting the problem. >> >> I have tried and get first 2 lines of output as well. >> Do you mind file an jira issue for this problem? >> That would help track this issue. >> >> Best, >> moon >> >> On Thu, Jul 28, 2016 at 6:37 PM Abul Basar <aba...@einext.com> wrote: >> >>> Hello All, >>> >>> I am trying to run the following R commands using spark R. >>> >>> *%r #Using SparkR interpreter* >>> >>> *require(ggplot2)* >>> >>> *fit = lm(price ~ carat, data = diamonds)* >>> >>> *summary(fit)* >>> >>> >>> Expected Output (as displayed by R Studio); >>> >>> Call: >>> lm(formula = price ~ carat, data = diamonds) >>> >>> Residuals: >>> Min 1Q Median 3Q Max >>> -18585.3 -804.8 -18.9 537.4 12731.7 >>> >>> Coefficients: >>> Estimate Std. Error t value Pr(>|t|) >>> (Intercept) -2256.36 13.06 -172.8 <2e-16 *** >>> carat 7756.43 14.07 551.4 <2e-16 *** >>> --- >>> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 >>> >>> Residual standard error: 1549 on 53938 degrees of freedom >>> Multiple R-squared: 0.8493, Adjusted R-squared: 0.8493 >>> F-statistic: 3.041e+05 on 1 and 53938 DF, p-value: < 2.2e-16 >>> >>> >>> But, below is what I am getting - only first 2 lines of the above output >>> is shown. >>> >>> Call: >>> >>> lm(formula = price ~ carat, data = diamonds) >>> >>> Currently, as a stop gap solution, I write the following to, but the >>> output is not good. >>> >>> output.capture(summary(fit)) >>> >>> >>> Does anyone figured a fix for this? >>> >>> >>> Thanks! >>> >>> - AB >>> >>>