R dataframes printing as plain text

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

R dataframes printing as plain text

Mark Miller
I'm new to Zeppelin, Spark and Scala

"If you return a data.frame, Zeppelin will attempt to display it using Zeppelin's built-in visualizations"

But I am just getting a plain text dump from "mtcars"

What am I doing wrong?

thanks,
Mark 

---   ---   ---

I installed zeppelin-0.7.1-bin-all.tgz on an Ubuntu 16 system with openjdk version "1.8.0_121"

I installed spark-2.1.1-bin-hadoop2.7.tgz in /usr/local/share/spark

i.e., I can run
$ /usr/local/share/spark/spark-2.1.1-bin-hadoop2.7/bin/run-example SparkPi 10

I edited zeppelin-env.sh to say:
export SPARK_HOME=/usr/local/share/spark/spark-2.1.1-bin-hadoop2.7

I did
$ cp zeppelin-site.xml.template zeppelin-site.xml

and 
$ ./bin/zeppelin-daemon.sh restart

Reply | Threaded
Open this post in threaded view
|

Re: R dataframes printing as plain text

Jeff Zhang
I don't think it support R's dataframe. Not sure why the document says it works, may it works before. 
https://issues.apache.org/jira/browse/ZEPPELIN-1181




Mark Miller <[hidden email]>于2017年5月5日周五 上午9:43写道:
I'm new to Zeppelin, Spark and Scala

"If you return a data.frame, Zeppelin will attempt to display it using Zeppelin's built-in visualizations"

But I am just getting a plain text dump from "mtcars"

What am I doing wrong?

thanks,
Mark 

---   ---   ---

I installed zeppelin-0.7.1-bin-all.tgz on an Ubuntu 16 system with openjdk version "1.8.0_121"

I installed spark-2.1.1-bin-hadoop2.7.tgz in /usr/local/share/spark

i.e., I can run
$ /usr/local/share/spark/spark-2.1.1-bin-hadoop2.7/bin/run-example SparkPi 10

I edited zeppelin-env.sh to say:
export SPARK_HOME=/usr/local/share/spark/spark-2.1.1-bin-hadoop2.7

I did
$ cp zeppelin-site.xml.template zeppelin-site.xml

and 
$ ./bin/zeppelin-daemon.sh restart