Jeff Zhang created ZEPPELIN-1717:
------------------------------------

             Summary: Weird output for SparkR
                 Key: ZEPPELIN-1717
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1717
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Jeff Zhang


This is my source code and output


{code}
%spark.r

df <- as.DataFrame(faithful)
head(df)
{code}

Output
{code}
1 function (x, df1, df2, ncp, log = FALSE)<br />
2 {<br />
3     if (missing(ncp))<br />
4         .Call(C_df, x, df1, df2, log)<br />
5     else .Call(C_dnf, x, df1, df2, ncp, log)
6 }
{code}

The output in spark-shell is
{code}
> head(df)
  eruptions waiting
1     3.600      79
2     1.800      54
3     3.333      74
4     2.283      62
5     4.533      85
6     2.883      55
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to