http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/ascii.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/ascii.html b/site/docs/2.1.2/api/R/ascii.html new file mode 100644 index 0000000..8d8cfc2 --- /dev/null +++ b/site/docs/2.1.2/api/R/ascii.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: ascii</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for ascii {SparkR}"><tr><td>ascii {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>ascii</h2> + +<h3>Description</h3> + +<p>Computes the numeric value of the first character of the string column, and returns the +result as a int column. +</p> + + +<h3>Usage</h3> + +<pre> +ascii(x) + +## S4 method for signature 'Column' +ascii(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>ascii since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other string_funcs: <code><a href="base64.html">base64</a></code>, +<code><a href="concat_ws.html">concat_ws</a></code>, <code><a href="concat.html">concat</a></code>, +<code><a href="decode.html">decode</a></code>, <code><a href="encode.html">encode</a></code>, +<code><a href="format_number.html">format_number</a></code>, <code><a href="format_string.html">format_string</a></code>, +<code><a href="initcap.html">initcap</a></code>, <code><a href="instr.html">instr</a></code>, +<code><a href="length.html">length</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>, +<code><a href="locate.html">locate</a></code>, <code><a href="lower.html">lower</a></code>, +<code><a href="lpad.html">lpad</a></code>, <code><a href="ltrim.html">ltrim</a></code>, +<code><a href="regexp_extract.html">regexp_extract</a></code>, +<code><a href="regexp_replace.html">regexp_replace</a></code>, <code><a href="reverse.html">reverse</a></code>, +<code><a href="rpad.html">rpad</a></code>, <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="soundex.html">soundex</a></code>, <code><a href="substring_index.html">substring_index</a></code>, +<code><a href="translate.html">translate</a></code>, <code><a href="trim.html">trim</a></code>, +<code><a href="unbase64.html">unbase64</a></code>, <code><a href="upper.html">upper</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: \dontrun{ascii(df$c)} +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html>
http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/asin.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/asin.html b/site/docs/2.1.2/api/R/asin.html new file mode 100644 index 0000000..1cc2a94 --- /dev/null +++ b/site/docs/2.1.2/api/R/asin.html @@ -0,0 +1,78 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: asin</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for asin {SparkR}"><tr><td>asin {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>asin</h2> + +<h3>Description</h3> + +<p>Computes the sine inverse of the given value; the returned angle is in the range +-pi/2 through pi/2. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +asin(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>asin since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="atan2.html">atan2</a></code>, +<code><a href="atan.html">atan</a></code>, <code><a href="bin.html">bin</a></code>, +<code><a href="bround.html">bround</a></code>, <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: asin(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/atan.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/atan.html b/site/docs/2.1.2/api/R/atan.html new file mode 100644 index 0000000..bc3fa97 --- /dev/null +++ b/site/docs/2.1.2/api/R/atan.html @@ -0,0 +1,77 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: atan</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for atan {SparkR}"><tr><td>atan {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>atan</h2> + +<h3>Description</h3> + +<p>Computes the tangent inverse of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +atan(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>atan since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan2.html">atan2</a></code>, <code><a href="bin.html">bin</a></code>, +<code><a href="bround.html">bround</a></code>, <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: atan(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/atan2.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/atan2.html b/site/docs/2.1.2/api/R/atan2.html new file mode 100644 index 0000000..3160bd3 --- /dev/null +++ b/site/docs/2.1.2/api/R/atan2.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: atan2</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for atan2 {SparkR}"><tr><td>atan2 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>atan2</h2> + +<h3>Description</h3> + +<p>Returns the angle theta from the conversion of rectangular coordinates (x, y) to +polar coordinates (r, theta). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +atan2(y, x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>y</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>atan2 since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan.html">atan</a></code>, <code><a href="bin.html">bin</a></code>, +<code><a href="bround.html">bround</a></code>, <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: atan2(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/attach.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/attach.html b/site/docs/2.1.2/api/R/attach.html new file mode 100644 index 0000000..20a6cd0 --- /dev/null +++ b/site/docs/2.1.2/api/R/attach.html @@ -0,0 +1,117 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Attach SparkDataFrame to R search path</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for attach {SparkR}"><tr><td>attach {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Attach SparkDataFrame to R search path</h2> + +<h3>Description</h3> + +<p>The specified SparkDataFrame is attached to the R search path. This means that +the SparkDataFrame is searched by R when evaluating a variable, so columns in +the SparkDataFrame can be accessed by simply giving their names. +</p> + + +<h3>Usage</h3> + +<pre> +attach(what, pos = 2L, name = deparse(substitute(what)), + warn.conflicts = TRUE) + +## S4 method for signature 'SparkDataFrame' +attach(what, pos = 2, + name = deparse(substitute(what)), warn.conflicts = TRUE) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>what</code></td> +<td> +<p>(SparkDataFrame) The SparkDataFrame to attach</p> +</td></tr> +<tr valign="top"><td><code>pos</code></td> +<td> +<p>(integer) Specify position in search() where to attach.</p> +</td></tr> +<tr valign="top"><td><code>name</code></td> +<td> +<p>(character) Name to use for the attached SparkDataFrame. Names +starting with package: are reserved for library.</p> +</td></tr> +<tr valign="top"><td><code>warn.conflicts</code></td> +<td> +<p>(logical) If TRUE, warnings are printed about conflicts +from attaching the database, unless that SparkDataFrame contains an object</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>attach since 1.6.0 +</p> + + +<h3>See Also</h3> + +<p><a href="../../base/html/detach.html">detach</a> +</p> +<p>Other SparkDataFrame functions: <code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="as.data.frame.html">as.data.frame</a></code>, <code><a href="cache.html">cache</a></code>, +<code><a href="coalesce.html">coalesce</a></code>, <code><a href="collect.html">collect</a></code>, +<code><a href="columns.html">colnames</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="crossJoin.html">crossJoin</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapply.html">dapply</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="dim.html">dim</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="except.html">except</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="head.html">head</a></code>, <code><a href="histogram.html">histogram</a></code>, +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="join.html">join</a></code>, +<code><a href="limit.html">limit</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="mutate.html">mutate</a></code>, <code><a href="ncol.html">ncol</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="show.html">show</a></code>, <code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="str.html">str</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="take.html">take</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="unpersist.html">unpersist</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="with.html">with</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D attach(irisDf) +##D summary(Sepal_Width) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/avg.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/avg.html b/site/docs/2.1.2/api/R/avg.html new file mode 100644 index 0000000..82d8d9d --- /dev/null +++ b/site/docs/2.1.2/api/R/avg.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: avg</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for avg {SparkR}"><tr><td>avg {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>avg</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the average of the values in a group. +</p> + + +<h3>Usage</h3> + +<pre> +avg(x, ...) + +## S4 method for signature 'Column' +avg(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on or a GroupedData object.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>additional argument(s) when <code>x</code> is a GroupedData object.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>avg since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="count.html">count</a></code>, +<code><a href="first.html">first</a></code>, <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="last.html">last</a></code>, <code><a href="max.html">max</a></code>, +<code><a href="mean.html">mean</a></code>, <code><a href="min.html">min</a></code>, <code><a href="sd.html">sd</a></code>, +<code><a href="skewness.html">skewness</a></code>, <code><a href="stddev_pop.html">stddev_pop</a></code>, +<code><a href="stddev_samp.html">stddev_samp</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sum.html">sum</a></code>, <code><a href="var_pop.html">var_pop</a></code>, +<code><a href="var_samp.html">var_samp</a></code>, <code><a href="var.html">var</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: avg(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/base64.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/base64.html b/site/docs/2.1.2/api/R/base64.html new file mode 100644 index 0000000..a21bf89 --- /dev/null +++ b/site/docs/2.1.2/api/R/base64.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: base64</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for base64 {SparkR}"><tr><td>base64 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>base64</h2> + +<h3>Description</h3> + +<p>Computes the BASE64 encoding of a binary column and returns it as a string column. +This is the reverse of unbase64. +</p> + + +<h3>Usage</h3> + +<pre> +base64(x) + +## S4 method for signature 'Column' +base64(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>base64 since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>, +<code><a href="concat_ws.html">concat_ws</a></code>, <code><a href="concat.html">concat</a></code>, +<code><a href="decode.html">decode</a></code>, <code><a href="encode.html">encode</a></code>, +<code><a href="format_number.html">format_number</a></code>, <code><a href="format_string.html">format_string</a></code>, +<code><a href="initcap.html">initcap</a></code>, <code><a href="instr.html">instr</a></code>, +<code><a href="length.html">length</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>, +<code><a href="locate.html">locate</a></code>, <code><a href="lower.html">lower</a></code>, +<code><a href="lpad.html">lpad</a></code>, <code><a href="ltrim.html">ltrim</a></code>, +<code><a href="regexp_extract.html">regexp_extract</a></code>, +<code><a href="regexp_replace.html">regexp_replace</a></code>, <code><a href="reverse.html">reverse</a></code>, +<code><a href="rpad.html">rpad</a></code>, <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="soundex.html">soundex</a></code>, <code><a href="substring_index.html">substring_index</a></code>, +<code><a href="translate.html">translate</a></code>, <code><a href="trim.html">trim</a></code>, +<code><a href="unbase64.html">unbase64</a></code>, <code><a href="upper.html">upper</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: base64(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/between.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/between.html b/site/docs/2.1.2/api/R/between.html new file mode 100644 index 0000000..00ce19a --- /dev/null +++ b/site/docs/2.1.2/api/R/between.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: between</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for between {SparkR}"><tr><td>between {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>between</h2> + +<h3>Description</h3> + +<p>Test if the column is between the lower bound and upper bound, inclusive. +</p> + + +<h3>Usage</h3> + +<pre> +between(x, bounds) + +## S4 method for signature 'Column' +between(x, bounds) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a Column</p> +</td></tr> +<tr valign="top"><td><code>bounds</code></td> +<td> +<p>lower and upper bounds</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>between since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="alias.html">alias</a></code>, <code><a href="cast.html">cast</a></code>, +<code><a href="endsWith.html">endsWith</a></code>, <code><a href="otherwise.html">otherwise</a></code>, +<code><a href="over.html">over</a></code>, <code><a href="startsWith.html">startsWith</a></code>, +<code><a href="substr.html">substr</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/bin.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/bin.html b/site/docs/2.1.2/api/R/bin.html new file mode 100644 index 0000000..ddd66c4 --- /dev/null +++ b/site/docs/2.1.2/api/R/bin.html @@ -0,0 +1,80 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: bin</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for bin {SparkR}"><tr><td>bin {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>bin</h2> + +<h3>Description</h3> + +<p>An expression that returns the string representation of the binary value of the given long +column. For example, bin("12") returns "1100". +</p> + + +<h3>Usage</h3> + +<pre> +bin(x) + +## S4 method for signature 'Column' +bin(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>bin since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan2.html">atan2</a></code>, <code><a href="atan.html">atan</a></code>, +<code><a href="bround.html">bround</a></code>, <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: bin(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/bitwiseNOT.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/bitwiseNOT.html b/site/docs/2.1.2/api/R/bitwiseNOT.html new file mode 100644 index 0000000..36d01ed --- /dev/null +++ b/site/docs/2.1.2/api/R/bitwiseNOT.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: bitwiseNOT</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for bitwiseNOT {SparkR}"><tr><td>bitwiseNOT {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>bitwiseNOT</h2> + +<h3>Description</h3> + +<p>Computes bitwise NOT. +</p> + + +<h3>Usage</h3> + +<pre> +bitwiseNOT(x) + +## S4 method for signature 'Column' +bitwiseNOT(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>bitwiseNOT since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>, +<code><a href="coalesce.html">coalesce</a></code>, <code><a href="column.html">column</a></code>, +<code><a href="expr.html">expr</a></code>, <code><a href="greatest.html">greatest</a></code>, +<code><a href="ifelse.html">ifelse</a></code>, <code><a href="is.nan.html">isnan</a></code>, +<code><a href="least.html">least</a></code>, <code><a href="lit.html">lit</a></code>, +<code><a href="nanvl.html">nanvl</a></code>, <code><a href="negate.html">negate</a></code>, +<code><a href="randn.html">randn</a></code>, <code><a href="rand.html">rand</a></code>, +<code><a href="struct.html">struct</a></code>, <code><a href="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: bitwiseNOT(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/bround.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/bround.html b/site/docs/2.1.2/api/R/bround.html new file mode 100644 index 0000000..0a5a470 --- /dev/null +++ b/site/docs/2.1.2/api/R/bround.html @@ -0,0 +1,92 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: bround</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for bround {SparkR}"><tr><td>bround {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>bround</h2> + +<h3>Description</h3> + +<p>Returns the value of the column <code>e</code> rounded to <code>scale</code> decimal places using HALF_EVEN rounding +mode if <code>scale</code> >= 0 or at integer part when <code>scale</code> < 0. +Also known as Gaussian rounding or bankers' rounding that rounds to the nearest even number. +bround(2.5, 0) = 2, bround(3.5, 0) = 4. +</p> + + +<h3>Usage</h3> + +<pre> +bround(x, ...) + +## S4 method for signature 'Column' +bround(x, scale = 0) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments to be passed to or from other methods.</p> +</td></tr> +<tr valign="top"><td><code>scale</code></td> +<td> +<p>round to <code>scale</code> digits to the right of the decimal point when <code>scale</code> > 0, +the nearest even number when <code>scale</code> = 0, and <code>scale</code> digits to the left +of the decimal point when <code>scale</code> < 0.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>bround since 2.0.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan2.html">atan2</a></code>, <code><a href="atan.html">atan</a></code>, +<code><a href="bin.html">bin</a></code>, <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: bround(df$c, 0) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/cache.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/cache.html b/site/docs/2.1.2/api/R/cache.html new file mode 100644 index 0000000..6cc6095 --- /dev/null +++ b/site/docs/2.1.2/api/R/cache.html @@ -0,0 +1,99 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cache {SparkR}"><tr><td>cache {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cache</h2> + +<h3>Description</h3> + +<p>Persist with the default storage level (MEMORY_ONLY). +</p> + + +<h3>Usage</h3> + +<pre> +cache(x) + +## S4 method for signature 'SparkDataFrame' +cache(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkDataFrame</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>cache since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other SparkDataFrame functions: <code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="as.data.frame.html">as.data.frame</a></code>, <code><a href="attach.html">attach</a></code>, +<code><a href="coalesce.html">coalesce</a></code>, <code><a href="collect.html">collect</a></code>, +<code><a href="columns.html">colnames</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="crossJoin.html">crossJoin</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapply.html">dapply</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="dim.html">dim</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="except.html">except</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="head.html">head</a></code>, <code><a href="histogram.html">histogram</a></code>, +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="join.html">join</a></code>, +<code><a href="limit.html">limit</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="mutate.html">mutate</a></code>, <code><a href="ncol.html">ncol</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="show.html">show</a></code>, <code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="str.html">str</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="take.html">take</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="unpersist.html">unpersist</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="with.html">with</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D cache(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/cacheTable.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/cacheTable.html b/site/docs/2.1.2/api/R/cacheTable.html new file mode 100644 index 0000000..c410b54 --- /dev/null +++ b/site/docs/2.1.2/api/R/cacheTable.html @@ -0,0 +1,64 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cache Table</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cacheTable {SparkR}"><tr><td>cacheTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cache Table</h2> + +<h3>Description</h3> + +<p>Caches the specified table in-memory. +</p> + + +<h3>Usage</h3> + +<pre> +## Default S3 method: +cacheTable(tableName) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>tableName</code></td> +<td> +<p>The name of the table being cached</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>SparkDataFrame +</p> + + +<h3>Note</h3> + +<p>cacheTable since 1.4.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D createOrReplaceTempView(df, "table") +##D cacheTable("table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/cancelJobGroup.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/cancelJobGroup.html b/site/docs/2.1.2/api/R/cancelJobGroup.html new file mode 100644 index 0000000..0b9ba8f --- /dev/null +++ b/site/docs/2.1.2/api/R/cancelJobGroup.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cancel active jobs for the specified group</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cancelJobGroup {SparkR}"><tr><td>cancelJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cancel active jobs for the specified group</h2> + +<h3>Description</h3> + +<p>Cancel active jobs for the specified group +</p> + + +<h3>Usage</h3> + +<pre> +## Default S3 method: +cancelJobGroup(groupId) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>groupId</code></td> +<td> +<p>the ID of job group to be cancelled</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>cancelJobGroup since 1.5.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D cancelJobGroup("myJobGroup") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/cast.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/cast.html b/site/docs/2.1.2/api/R/cast.html new file mode 100644 index 0000000..e724da6 --- /dev/null +++ b/site/docs/2.1.2/api/R/cast.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Casts the column to a different data type.</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cast {SparkR}"><tr><td>cast {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Casts the column to a different data type.</h2> + +<h3>Description</h3> + +<p>Casts the column to a different data type. +</p> + + +<h3>Usage</h3> + +<pre> +cast(x, dataType) + +## S4 method for signature 'Column' +cast(x, dataType) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a Column.</p> +</td></tr> +<tr valign="top"><td><code>dataType</code></td> +<td> +<p>a character object describing the target data type. +See +<a href="https://spark.apache.org/docs/latest/sparkr.html#data-type-mapping-between-r-and-spark"> +Spark Data Types</a> for available data types.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>cast since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="alias.html">alias</a></code>, +<code><a href="between.html">between</a></code>, <code><a href="endsWith.html">endsWith</a></code>, +<code><a href="otherwise.html">otherwise</a></code>, <code><a href="over.html">over</a></code>, +<code><a href="startsWith.html">startsWith</a></code>, <code><a href="substr.html">substr</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D cast(df$age, "string") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/cbrt.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/cbrt.html b/site/docs/2.1.2/api/R/cbrt.html new file mode 100644 index 0000000..487a573 --- /dev/null +++ b/site/docs/2.1.2/api/R/cbrt.html @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: cbrt</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cbrt {SparkR}"><tr><td>cbrt {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>cbrt</h2> + +<h3>Description</h3> + +<p>Computes the cube-root of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +cbrt(x) + +## S4 method for signature 'Column' +cbrt(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>cbrt since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan2.html">atan2</a></code>, <code><a href="atan.html">atan</a></code>, +<code><a href="bin.html">bin</a></code>, <code><a href="bround.html">bround</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: cbrt(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/ceil.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/ceil.html b/site/docs/2.1.2/api/R/ceil.html new file mode 100644 index 0000000..68c03c8 --- /dev/null +++ b/site/docs/2.1.2/api/R/ceil.html @@ -0,0 +1,85 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Computes the ceiling of the given value</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for ceil {SparkR}"><tr><td>ceil {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Computes the ceiling of the given value</h2> + +<h3>Description</h3> + +<p>Computes the ceiling of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +ceil(x) + +## S4 method for signature 'Column' +ceil(x) + +## S4 method for signature 'Column' +ceiling(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>ceil since 1.5.0 +</p> +<p>ceiling since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>, <code><a href="asin.html">asin</a></code>, +<code><a href="atan2.html">atan2</a></code>, <code><a href="atan.html">atan</a></code>, +<code><a href="bin.html">bin</a></code>, <code><a href="bround.html">bround</a></code>, +<code><a href="cbrt.html">cbrt</a></code>, <code><a href="conv.html">conv</a></code>, +<code><a href="corr.html">corr</a></code>, <code><a href="cosh.html">cosh</a></code>, +<code><a href="cos.html">cos</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>, +<code><a href="cov.html">cov</a></code>, <code><a href="expm1.html">expm1</a></code>, +<code><a href="exp.html">exp</a></code>, <code><a href="factorial.html">factorial</a></code>, +<code><a href="floor.html">floor</a></code>, <code><a href="hex.html">hex</a></code>, +<code><a href="hypot.html">hypot</a></code>, <code><a href="log10.html">log10</a></code>, +<code><a href="log1p.html">log1p</a></code>, <code><a href="log2.html">log2</a></code>, +<code><a href="log.html">log</a></code>, <code><a href="pmod.html">pmod</a></code>, +<code><a href="rint.html">rint</a></code>, <code><a href="round.html">round</a></code>, +<code><a href="shiftLeft.html">shiftLeft</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="sign.html">signum</a></code>, +<code><a href="sinh.html">sinh</a></code>, <code><a href="sin.html">sin</a></code>, +<code><a href="sqrt.html">sqrt</a></code>, <code><a href="tanh.html">tanh</a></code>, +<code><a href="tan.html">tan</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: ceil(df$c) +## Not run: ceiling(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/clearCache.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/clearCache.html b/site/docs/2.1.2/api/R/clearCache.html new file mode 100644 index 0000000..6c4296c --- /dev/null +++ b/site/docs/2.1.2/api/R/clearCache.html @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Clear Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearCache {SparkR}"><tr><td>clearCache {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Clear Cache</h2> + +<h3>Description</h3> + +<p>Removes all cached tables from the in-memory cache. +</p> + + +<h3>Usage</h3> + +<pre> +## Default S3 method: +clearCache() +</pre> + + +<h3>Note</h3> + +<p>clearCache since 1.4.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D clearCache() +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/clearJobGroup.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/clearJobGroup.html b/site/docs/2.1.2/api/R/clearJobGroup.html new file mode 100644 index 0000000..2c08aa7 --- /dev/null +++ b/site/docs/2.1.2/api/R/clearJobGroup.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Clear current job group ID and its description</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearJobGroup {SparkR}"><tr><td>clearJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Clear current job group ID and its description</h2> + +<h3>Description</h3> + +<p>Clear current job group ID and its description +</p> + + +<h3>Usage</h3> + +<pre> +## Default S3 method: +clearJobGroup() +</pre> + + +<h3>Note</h3> + +<p>clearJobGroup since 1.5.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D clearJobGroup() +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/coalesce.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/coalesce.html b/site/docs/2.1.2/api/R/coalesce.html new file mode 100644 index 0000000..b644bbd --- /dev/null +++ b/site/docs/2.1.2/api/R/coalesce.html @@ -0,0 +1,142 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Coalesce</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for coalesce {SparkR}"><tr><td>coalesce {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Coalesce</h2> + +<h3>Description</h3> + +<p>Returns a new SparkDataFrame that has exactly <code>numPartitions</code> partitions. +This operation results in a narrow dependency, e.g. if you go from 1000 partitions to 100 +partitions, there will not be a shuffle, instead each of the 100 new partitions will claim 10 of +the current partitions. If a larger number of partitions is requested, it will stay at the +current number of partitions. +</p> +<p>Returns the first column that is not NA, or NA if all inputs are. +</p> + + +<h3>Usage</h3> + +<pre> +coalesce(x, ...) + +## S4 method for signature 'SparkDataFrame' +coalesce(x, numPartitions) + +## S4 method for signature 'Column' +coalesce(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a Column or a SparkDataFrame.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>additional argument(s). If <code>x</code> is a Column, additional Columns can be optionally +provided.</p> +</td></tr> +<tr valign="top"><td><code>numPartitions</code></td> +<td> +<p>the number of partitions to use.</p> +</td></tr> +</table> + + +<h3>Details</h3> + +<p>However, if you're doing a drastic coalesce on a SparkDataFrame, e.g. to numPartitions = 1, +this may result in your computation taking place on fewer nodes than +you like (e.g. one node in the case of numPartitions = 1). To avoid this, +call <code>repartition</code>. This will add a shuffle step, but means the +current upstream partitions will be executed in parallel (per whatever +the current partitioning is). +</p> + + +<h3>Note</h3> + +<p>coalesce(SparkDataFrame) since 2.1.1 +</p> +<p>coalesce(Column) since 2.1.1 +</p> + + +<h3>See Also</h3> + +<p><a href="repartition.html">repartition</a> +</p> +<p>Other SparkDataFrame functions: <code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="as.data.frame.html">as.data.frame</a></code>, <code><a href="attach.html">attach</a></code>, +<code><a href="cache.html">cache</a></code>, <code><a href="collect.html">collect</a></code>, +<code><a href="columns.html">colnames</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="crossJoin.html">crossJoin</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapply.html">dapply</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="dim.html">dim</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="except.html">except</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="head.html">head</a></code>, <code><a href="histogram.html">histogram</a></code>, +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="join.html">join</a></code>, +<code><a href="limit.html">limit</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="mutate.html">mutate</a></code>, <code><a href="ncol.html">ncol</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="show.html">show</a></code>, <code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="str.html">str</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="take.html">take</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="unpersist.html">unpersist</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="with.html">with</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>, +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="column.html">column</a></code>, +<code><a href="expr.html">expr</a></code>, <code><a href="greatest.html">greatest</a></code>, +<code><a href="ifelse.html">ifelse</a></code>, <code><a href="is.nan.html">isnan</a></code>, +<code><a href="least.html">least</a></code>, <code><a href="lit.html">lit</a></code>, +<code><a href="nanvl.html">nanvl</a></code>, <code><a href="negate.html">negate</a></code>, +<code><a href="randn.html">randn</a></code>, <code><a href="rand.html">rand</a></code>, +<code><a href="struct.html">struct</a></code>, <code><a href="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D newDF <- coalesce(df, 1L) +## End(Not run) +## Not run: coalesce(df$c, df$d, df$e) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/collect.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/collect.html b/site/docs/2.1.2/api/R/collect.html new file mode 100644 index 0000000..bb6fb8c --- /dev/null +++ b/site/docs/2.1.2/api/R/collect.html @@ -0,0 +1,109 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Collects all the elements of a SparkDataFrame and coerces...</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for collect {SparkR}"><tr><td>collect {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Collects all the elements of a SparkDataFrame and coerces them into an R data.frame.</h2> + +<h3>Description</h3> + +<p>Collects all the elements of a SparkDataFrame and coerces them into an R data.frame. +</p> + + +<h3>Usage</h3> + +<pre> +collect(x, ...) + +## S4 method for signature 'SparkDataFrame' +collect(x, stringsAsFactors = FALSE) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a SparkDataFrame.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments to be passed to or from other methods.</p> +</td></tr> +<tr valign="top"><td><code>stringsAsFactors</code></td> +<td> +<p>(Optional) a logical indicating whether or not string columns +should be converted to factors. FALSE by default.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>collect since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other SparkDataFrame functions: <code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="as.data.frame.html">as.data.frame</a></code>, <code><a href="attach.html">attach</a></code>, +<code><a href="cache.html">cache</a></code>, <code><a href="coalesce.html">coalesce</a></code>, +<code><a href="columns.html">colnames</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="crossJoin.html">crossJoin</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapply.html">dapply</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="dim.html">dim</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="except.html">except</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="head.html">head</a></code>, <code><a href="histogram.html">histogram</a></code>, +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="join.html">join</a></code>, +<code><a href="limit.html">limit</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="mutate.html">mutate</a></code>, <code><a href="ncol.html">ncol</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="show.html">show</a></code>, <code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="str.html">str</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="take.html">take</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="unpersist.html">unpersist</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="with.html">with</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D collected <- collect(df) +##D firstName <- collected[[1]]$name +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/coltypes.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/coltypes.html b/site/docs/2.1.2/api/R/coltypes.html new file mode 100644 index 0000000..8386cae --- /dev/null +++ b/site/docs/2.1.2/api/R/coltypes.html @@ -0,0 +1,125 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: coltypes</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for coltypes {SparkR}"><tr><td>coltypes {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>coltypes</h2> + +<h3>Description</h3> + +<p>Get column types of a SparkDataFrame +</p> +<p>Set the column types of a SparkDataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +coltypes(x) + +coltypes(x) <- value + +## S4 method for signature 'SparkDataFrame' +coltypes(x) + +## S4 replacement method for signature 'SparkDataFrame,character' +coltypes(x) <- value +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkDataFrame</p> +</td></tr> +<tr valign="top"><td><code>value</code></td> +<td> +<p>A character vector with the target column types for the given +SparkDataFrame. Column types can be one of integer, numeric/double, character, logical, or NA +to keep that column as-is.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>value A character vector with the column types of the given SparkDataFrame +</p> + + +<h3>Note</h3> + +<p>coltypes since 1.6.0 +</p> +<p>coltypes<- since 1.6.0 +</p> + + +<h3>See Also</h3> + +<p>Other SparkDataFrame functions: <code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="as.data.frame.html">as.data.frame</a></code>, <code><a href="attach.html">attach</a></code>, +<code><a href="cache.html">cache</a></code>, <code><a href="coalesce.html">coalesce</a></code>, +<code><a href="collect.html">collect</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="crossJoin.html">crossJoin</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapply.html">dapply</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="dim.html">dim</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="except.html">except</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="head.html">head</a></code>, <code><a href="histogram.html">histogram</a></code>, +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="join.html">join</a></code>, +<code><a href="limit.html">limit</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="mutate.html">mutate</a></code>, <code><a href="ncol.html">ncol</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="show.html">show</a></code>, <code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="str.html">str</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="take.html">take</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="unpersist.html">unpersist</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="with.html">with</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D irisDF <- createDataFrame(iris) +##D coltypes(irisDF) # get column types +## End(Not run) +## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D coltypes(df) <- c("character", "integer") # set column types +##D coltypes(df) <- c(NA, "numeric") # set column types +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/column.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/column.html b/site/docs/2.1.2/api/R/column.html new file mode 100644 index 0000000..ab4cc98 --- /dev/null +++ b/site/docs/2.1.2/api/R/column.html @@ -0,0 +1,83 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S4 class that represents a SparkDataFrame column</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for column {SparkR}"><tr><td>column {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>S4 class that represents a SparkDataFrame column</h2> + +<h3>Description</h3> + +<p>The column class supports unary, binary operations on SparkDataFrame columns +</p> +<p>Returns a Column based on the given column name. +</p> + + +<h3>Usage</h3> + +<pre> +column(x) + +## S4 method for signature 'jobj' +column(x) + +## S4 method for signature 'character' +column(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Character column name.</p> +</td></tr> +</table> + + +<h3>Slots</h3> + + +<dl> +<dt><code>jc</code></dt><dd><p>reference to JVM SparkDataFrame column</p> +</dd> +</dl> + + +<h3>Note</h3> + +<p>Column since 1.4.0 +</p> +<p>column since 1.6.0 +</p> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>, +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="coalesce.html">coalesce</a></code>, +<code><a href="expr.html">expr</a></code>, <code><a href="greatest.html">greatest</a></code>, +<code><a href="ifelse.html">ifelse</a></code>, <code><a href="is.nan.html">isnan</a></code>, +<code><a href="least.html">least</a></code>, <code><a href="lit.html">lit</a></code>, +<code><a href="nanvl.html">nanvl</a></code>, <code><a href="negate.html">negate</a></code>, +<code><a href="randn.html">randn</a></code>, <code><a href="rand.html">rand</a></code>, +<code><a href="struct.html">struct</a></code>, <code><a href="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: column("name") +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/columnfunctions.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/R/columnfunctions.html b/site/docs/2.1.2/api/R/columnfunctions.html new file mode 100644 index 0000000..65309cc --- /dev/null +++ b/site/docs/2.1.2/api/R/columnfunctions.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: A set of operations working with SparkDataFrame columns</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for asc {SparkR}"><tr><td>asc {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>A set of operations working with SparkDataFrame columns</h2> + +<h3>Description</h3> + +<p>A set of operations working with SparkDataFrame columns +</p> + + +<h3>Usage</h3> + +<pre> +asc(x) + +contains(x, ...) + +desc(x) + +getField(x, ...) + +getItem(x, ...) + +isNaN(x) + +isNull(x) + +isNotNull(x) + +like(x, ...) + +rlike(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a Column object.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>additional argument(s).</p> +</td></tr> +</table> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 2.1.2 <a href="00Index.html">Index</a>]</div> +</body></html> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org