spark-instrumented-optimizer/R/pkg
zsxwing 12671dd5e4 [SPARK-8434][SQL]Add a "pretty" parameter to the "show" method to display long strings
Sometimes the user may want to show the complete content of cells. Now `sql("set -v").show()` displays:

![screen shot 2015-06-18 at 4 34 51 pm](https://cloud.githubusercontent.com/assets/1000778/8227339/14d3c5ea-15d9-11e5-99b9-f00b7e93beef.png)

The user needs to use something like `sql("set -v").collect().foreach(r => r.toSeq.mkString("\t"))` to show the complete content.

This PR adds a `pretty` parameter to show. If `pretty` is false, `show` won't truncate strings or align cells right.

![screen shot 2015-06-18 at 4 21 44 pm](https://cloud.githubusercontent.com/assets/1000778/8227407/b6f8dcac-15d9-11e5-8219-8079280d76fc.png)

Author: zsxwing <zsxwing@gmail.com>

Closes #6877 from zsxwing/show and squashes the following commits:

22e28e9 [zsxwing] pretty -> truncate
e582628 [zsxwing] Add pretty parameter to the show method in R
a3cd55b [zsxwing] Fix calling showString in R
923cee4 [zsxwing] Add a "pretty" parameter to show to display long strings
2015-06-29 23:44:11 -07:00
..
inst [SPARK-8607] SparkR -- jars not being added to application classpath correctly 2015-06-26 17:06:16 -07:00
R [SPARK-8434][SQL]Add a "pretty" parameter to the "show" method to display long strings 2015-06-29 23:44:11 -07:00
src-native [SPARK-6811] Copy SparkR lib in make-distribution.sh 2015-05-23 00:04:01 -07:00
tests [SPARK-5654] Integrate SparkR 2015-04-08 22:45:40 -07:00
.lintr [SPARK-8537] [SPARKR] Add a validation rule about the curly braces in SparkR to .lintr 2015-06-22 14:35:38 -07:00
DESCRIPTION [SPARK-6824] Fill the docs for DataFrame API in SparkR 2015-05-08 11:25:04 -07:00
NAMESPACE [SPARK-8452] [SPARKR] expose jobGroup API in SparkR 2015-06-19 15:51:59 -07:00