http://git-wip-us.apache.org/repos/asf/spark-website/blob/a6d9cbde/site/docs/2.1.2/api/R/columns.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/columns.html 
b/site/docs/2.1.2/api/R/columns.html
new file mode 100644
index 0000000..3e7242a
--- /dev/null
+++ b/site/docs/2.1.2/api/R/columns.html
@@ -0,0 +1,137 @@
+<!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: Column Names of 
SparkDataFrame</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 colnames {SparkR}"><tr><td>colnames 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Column Names of SparkDataFrame</h2>
+
+<h3>Description</h3>
+
+<p>Return all column names as a list.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+colnames(x, do.NULL = TRUE, prefix = "col")
+
+colnames(x) &lt;- value
+
+columns(x)
+
+## S4 method for signature 'SparkDataFrame'
+columns(x)
+
+## S4 method for signature 'SparkDataFrame'
+names(x)
+
+## S4 replacement method for signature 'SparkDataFrame'
+names(x) &lt;- value
+
+## S4 method for signature 'SparkDataFrame'
+colnames(x)
+
+## S4 replacement method for signature 'SparkDataFrame'
+colnames(x) &lt;- 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>do.NULL</code></td>
+<td>
+<p>currently not used.</p>
+</td></tr>
+<tr valign="top"><td><code>prefix</code></td>
+<td>
+<p>currently not used.</p>
+</td></tr>
+<tr valign="top"><td><code>value</code></td>
+<td>
+<p>a character vector. Must have the same length as the number
+of columns in the SparkDataFrame.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>columns since 1.4.0
+</p>
+<p>names since 1.5.0
+</p>
+<p>names&lt;- since 1.5.0
+</p>
+<p>colnames since 1.6.0
+</p>
+<p>colnames&lt;- 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="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 &lt;- &quot;path/to/file.json&quot;
+##D df &lt;- read.json(path)
+##D columns(df)
+##D colnames(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/concat.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/concat.html 
b/site/docs/2.1.2/api/R/concat.html
new file mode 100644
index 0000000..6d226c8
--- /dev/null
+++ b/site/docs/2.1.2/api/R/concat.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: concat</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 concat {SparkR}"><tr><td>concat 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>concat</h2>
+
+<h3>Description</h3>
+
+<p>Concatenates multiple input string columns together into a single string 
column.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+concat(x, ...)
+
+## S4 method for signature 'Column'
+concat(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>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>other columns</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>concat since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>,
+<code><a href="base64.html">base64</a></code>, <code><a 
href="concat_ws.html">concat_ws</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: concat(df$strings, df$strings2)
+</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/concat_ws.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/concat_ws.html 
b/site/docs/2.1.2/api/R/concat_ws.html
new file mode 100644
index 0000000..e30c492
--- /dev/null
+++ b/site/docs/2.1.2/api/R/concat_ws.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: concat_ws</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 concat_ws {SparkR}"><tr><td>concat_ws 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>concat_ws</h2>
+
+<h3>Description</h3>
+
+<p>Concatenates multiple input string columns together into a single string 
column,
+using the given separator.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+concat_ws(sep, x, ...)
+
+## S4 method for signature 'character,Column'
+concat_ws(sep, x, ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>sep</code></td>
+<td>
+<p>separator to use.</p>
+</td></tr>
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>column to concatenate.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>other columns to concatenate.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>concat_ws since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>,
+<code><a href="base64.html">base64</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: concat_ws(&#39;-&#39;, df$s, df$d)
+</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/conv.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/conv.html b/site/docs/2.1.2/api/R/conv.html
new file mode 100644
index 0000000..01de6da
--- /dev/null
+++ b/site/docs/2.1.2/api/R/conv.html
@@ -0,0 +1,87 @@
+<!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: conv</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 conv {SparkR}"><tr><td>conv 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>conv</h2>
+
+<h3>Description</h3>
+
+<p>Convert a number in a string column from one base to another.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+conv(x, fromBase, toBase)
+
+## S4 method for signature 'Column,numeric,numeric'
+conv(x, fromBase, toBase)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>column to convert.</p>
+</td></tr>
+<tr valign="top"><td><code>fromBase</code></td>
+<td>
+<p>base to convert from.</p>
+</td></tr>
+<tr valign="top"><td><code>toBase</code></td>
+<td>
+<p>base to convert to.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>conv 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="ceil.html">ceil</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: conv(df$n, 2, 16)
+</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/corr.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/corr.html b/site/docs/2.1.2/api/R/corr.html
new file mode 100644
index 0000000..53c296b
--- /dev/null
+++ b/site/docs/2.1.2/api/R/corr.html
@@ -0,0 +1,126 @@
+<!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: corr</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 corr {SparkR}"><tr><td>corr 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>corr</h2>
+
+<h3>Description</h3>
+
+<p>Computes the Pearson Correlation Coefficient for two Columns.
+</p>
+<p>Calculates the correlation of two columns of a SparkDataFrame.
+Currently only supports the Pearson Correlation Coefficient.
+For Spearman Correlation, consider using RDD methods found in MLlib's 
Statistics.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+corr(x, ...)
+
+## S4 method for signature 'Column'
+corr(x, col2)
+
+## S4 method for signature 'SparkDataFrame'
+corr(x, colName1, colName2, method = "pearson")
+</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, a Column
+should be provided. If <code>x</code> is a SparkDataFrame, two column names 
should
+be provided.</p>
+</td></tr>
+<tr valign="top"><td><code>col2</code></td>
+<td>
+<p>a (second) Column.</p>
+</td></tr>
+<tr valign="top"><td><code>colName1</code></td>
+<td>
+<p>the name of the first column</p>
+</td></tr>
+<tr valign="top"><td><code>colName2</code></td>
+<td>
+<p>the name of the second column</p>
+</td></tr>
+<tr valign="top"><td><code>method</code></td>
+<td>
+<p>Optional. A character specifying the method for calculating the correlation.
+only &quot;pearson&quot; is allowed now.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>The Pearson Correlation Coefficient as a Double.
+</p>
+
+
+<h3>Note</h3>
+
+<p>corr since 1.6.0
+</p>
+<p>corr since 1.6.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="ceil.html">ceil</a></code>,
+<code><a href="conv.html">conv</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>
+<p>Other stat functions: <code><a 
href="approxQuantile.html">approxQuantile</a></code>,
+<code><a href="cov.html">cov</a></code>, <code><a 
href="crosstab.html">crosstab</a></code>,
+<code><a href="freqItems.html">freqItems</a></code>, <code><a 
href="sampleBy.html">sampleBy</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: corr(df$c, df$d)
+## Not run: 
+##D df &lt;- read.json(&quot;/path/to/file.json&quot;)
+##D corr &lt;- corr(df, &quot;title&quot;, &quot;gender&quot;)
+##D corr &lt;- corr(df, &quot;title&quot;, &quot;gender&quot;, method = 
&quot;pearson&quot;)
+## 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/cos.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/cos.html b/site/docs/2.1.2/api/R/cos.html
new file mode 100644
index 0000000..8ec8cab
--- /dev/null
+++ b/site/docs/2.1.2/api/R/cos.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: cos</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 cos {SparkR}"><tr><td>cos 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>cos</h2>
+
+<h3>Description</h3>
+
+<p>Computes the cosine of the given value.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+cos(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>cos 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="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="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: cos(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/cosh.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/cosh.html b/site/docs/2.1.2/api/R/cosh.html
new file mode 100644
index 0000000..2d60669
--- /dev/null
+++ b/site/docs/2.1.2/api/R/cosh.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: cosh</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 cosh {SparkR}"><tr><td>cosh 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>cosh</h2>
+
+<h3>Description</h3>
+
+<p>Computes the hyperbolic cosine of the given value.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+cosh(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>cosh 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="ceil.html">ceil</a></code>,
+<code><a href="conv.html">conv</a></code>, <code><a 
href="corr.html">corr</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: cosh(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/count.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/count.html b/site/docs/2.1.2/api/R/count.html
new file mode 100644
index 0000000..ab2249c
--- /dev/null
+++ b/site/docs/2.1.2/api/R/count.html
@@ -0,0 +1,94 @@
+<!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: Count</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 count {SparkR}"><tr><td>count 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Count</h2>
+
+<h3>Description</h3>
+
+<p>Count the number of rows for each group when we have 
<code>GroupedData</code> input.
+The resulting SparkDataFrame will also contain the grouping columns.
+</p>
+<p>This can be used as a column aggregate function with <code>Column</code> as 
input,
+and returns the number of items in a group.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+count(x)
+
+n(x)
+
+## S4 method for signature 'GroupedData'
+count(x)
+
+## S4 method for signature 'Column'
+count(x)
+
+## S4 method for signature 'Column'
+n(x)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a GroupedData or Column.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>count since 1.4.0
+</p>
+<p>count since 1.4.0
+</p>
+<p>n since 1.4.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, <code><a 
href="avg.html">avg</a></code>,
+<code><a href="countDistinct.html">countDistinct</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: 
+##D   count(groupBy(df, &quot;name&quot;))
+## End(Not run)
+## Not run: count(df$c)
+## Not run: n(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/countDistinct.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/countDistinct.html 
b/site/docs/2.1.2/api/R/countDistinct.html
new file mode 100644
index 0000000..d1e0d6c
--- /dev/null
+++ b/site/docs/2.1.2/api/R/countDistinct.html
@@ -0,0 +1,88 @@
+<!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: Count Distinct 
Values</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 countDistinct 
{SparkR}"><tr><td>countDistinct {SparkR}</td><td style="text-align: right;">R 
Documentation</td></tr></table>
+
+<h2>Count Distinct Values</h2>
+
+<h3>Description</h3>
+
+<p>Count Distinct Values
+</p>
+<p>Aggregate function: returns the number of distinct items in a group.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+countDistinct(x, ...)
+
+n_distinct(x, ...)
+
+## S4 method for signature 'Column'
+countDistinct(x, ...)
+
+## S4 method for signature 'Column'
+n_distinct(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>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>other columns</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>the number of distinct items in a group.
+</p>
+
+
+<h3>Note</h3>
+
+<p>countDistinct since 1.4.0
+</p>
+<p>n_distinct since 1.4.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, <code><a 
href="avg.html">avg</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: countDistinct(df$c)
+## Not run: n_distinct(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/cov.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/cov.html b/site/docs/2.1.2/api/R/cov.html
new file mode 100644
index 0000000..9420680
--- /dev/null
+++ b/site/docs/2.1.2/api/R/cov.html
@@ -0,0 +1,134 @@
+<!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: cov</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 cov {SparkR}"><tr><td>cov 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>cov</h2>
+
+<h3>Description</h3>
+
+<p>Compute the sample covariance between two expressions.
+</p>
+<p>Calculate the sample covariance of two numerical columns of a 
SparkDataFrame.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+cov(x, ...)
+
+covar_samp(col1, col2)
+
+## S4 method for signature 'characterOrColumn'
+cov(x, col2)
+
+## S4 method for signature 'characterOrColumn,characterOrColumn'
+covar_samp(col1, col2)
+
+## S4 method for signature 'SparkDataFrame'
+cov(x, colName1, colName2)
+</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, a Column
+should be provided. If <code>x</code> is a SparkDataFrame, two column names 
should
+be provided.</p>
+</td></tr>
+<tr valign="top"><td><code>col1</code></td>
+<td>
+<p>the first Column.</p>
+</td></tr>
+<tr valign="top"><td><code>col2</code></td>
+<td>
+<p>the second Column.</p>
+</td></tr>
+<tr valign="top"><td><code>colName1</code></td>
+<td>
+<p>the name of the first column</p>
+</td></tr>
+<tr valign="top"><td><code>colName2</code></td>
+<td>
+<p>the name of the second column</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>The covariance of the two columns.
+</p>
+
+
+<h3>Note</h3>
+
+<p>cov since 1.6.0
+</p>
+<p>covar_samp since 2.0.0
+</p>
+<p>cov since 1.6.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="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="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>
+<p>Other stat functions: <code><a 
href="approxQuantile.html">approxQuantile</a></code>,
+<code><a href="corr.html">corr</a></code>, <code><a 
href="crosstab.html">crosstab</a></code>,
+<code><a href="freqItems.html">freqItems</a></code>, <code><a 
href="sampleBy.html">sampleBy</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D cov(df$c, df$d)
+##D cov(&quot;c&quot;, &quot;d&quot;)
+##D covar_samp(df$c, df$d)
+##D covar_samp(&quot;c&quot;, &quot;d&quot;)
+## End(Not run)
+## Not run: 
+##D df &lt;- read.json(&quot;/path/to/file.json&quot;)
+##D cov &lt;- cov(df, &quot;title&quot;, &quot;gender&quot;)
+## 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/covar_pop.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/covar_pop.html 
b/site/docs/2.1.2/api/R/covar_pop.html
new file mode 100644
index 0000000..8d215bd
--- /dev/null
+++ b/site/docs/2.1.2/api/R/covar_pop.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: covar_pop</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 covar_pop {SparkR}"><tr><td>covar_pop 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>covar_pop</h2>
+
+<h3>Description</h3>
+
+<p>Compute the population covariance between two expressions.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+covar_pop(col1, col2)
+
+## S4 method for signature 'characterOrColumn,characterOrColumn'
+covar_pop(col1, col2)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>col1</code></td>
+<td>
+<p>First column to compute cov_pop.</p>
+</td></tr>
+<tr valign="top"><td><code>col2</code></td>
+<td>
+<p>Second column to compute cov_pop.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>covar_pop 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="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="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: 
+##D covar_pop(df$c, df$d)
+##D covar_pop(&quot;c&quot;, &quot;d&quot;)
+## 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/crc32.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/crc32.html b/site/docs/2.1.2/api/R/crc32.html
new file mode 100644
index 0000000..0638859
--- /dev/null
+++ b/site/docs/2.1.2/api/R/crc32.html
@@ -0,0 +1,63 @@
+<!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: crc32</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 crc32 {SparkR}"><tr><td>crc32 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>crc32</h2>
+
+<h3>Description</h3>
+
+<p>Calculates the cyclic redundancy check value  (CRC32) of a binary column and
+returns the value as a bigint.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+crc32(x)
+
+## S4 method for signature 'Column'
+crc32(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>crc32 since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other misc_funcs: <code><a href="hash.html">hash</a></code>, <code><a 
href="md5.html">md5</a></code>,
+<code><a 
href="monotonically_increasing_id.html">monotonically_increasing_id</a></code>,
+<code><a href="sha1.html">sha1</a></code>, <code><a 
href="sha2.html">sha2</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: crc32(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/createDataFrame.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/createDataFrame.html 
b/site/docs/2.1.2/api/R/createDataFrame.html
new file mode 100644
index 0000000..f8d85c5
--- /dev/null
+++ b/site/docs/2.1.2/api/R/createDataFrame.html
@@ -0,0 +1,90 @@
+<!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: Create a 
SparkDataFrame</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 createDataFrame 
{SparkR}"><tr><td>createDataFrame {SparkR}</td><td style="text-align: right;">R 
Documentation</td></tr></table>
+
+<h2>Create a SparkDataFrame</h2>
+
+<h3>Description</h3>
+
+<p>Converts R data.frame or list into SparkDataFrame.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## Default S3 method:
+createDataFrame(data, schema = NULL, samplingRatio = 1,
+  numPartitions = NULL)
+
+## Default S3 method:
+as.DataFrame(data, schema = NULL, samplingRatio = 1,
+  numPartitions = NULL)
+
+as.DataFrame(data, ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>data</code></td>
+<td>
+<p>a list or data.frame.</p>
+</td></tr>
+<tr valign="top"><td><code>schema</code></td>
+<td>
+<p>a list of column names or named list (StructType), optional.</p>
+</td></tr>
+<tr valign="top"><td><code>samplingRatio</code></td>
+<td>
+<p>Currently not used.</p>
+</td></tr>
+<tr valign="top"><td><code>numPartitions</code></td>
+<td>
+<p>the number of partitions of the SparkDataFrame. Defaults to 1, this is
+limited by length of the list or number of rows of the data.frame</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional argument(s).</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>createDataFrame since 1.4.0
+</p>
+<p>as.DataFrame since 1.6.0
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D sparkR.session()
+##D df1 &lt;- as.DataFrame(iris)
+##D df2 &lt;- as.DataFrame(list(3,4,5,6))
+##D df3 &lt;- createDataFrame(iris)
+##D df4 &lt;- createDataFrame(cars, numPartitions = 2)
+## 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/createExternalTable.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/createExternalTable.html 
b/site/docs/2.1.2/api/R/createExternalTable.html
new file mode 100644
index 0000000..f7162bb
--- /dev/null
+++ b/site/docs/2.1.2/api/R/createExternalTable.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: Create an external 
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 createExternalTable 
{SparkR}"><tr><td>createExternalTable {SparkR}</td><td style="text-align: 
right;">R Documentation</td></tr></table>
+
+<h2>Create an external table</h2>
+
+<h3>Description</h3>
+
+<p>Creates an external table based on the dataset in a data source,
+Returns a SparkDataFrame associated with the external table.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## Default S3 method:
+createExternalTable(tableName, path = NULL, source = NULL,
+  ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>tableName</code></td>
+<td>
+<p>a name of the table.</p>
+</td></tr>
+<tr valign="top"><td><code>path</code></td>
+<td>
+<p>the path of files to load.</p>
+</td></tr>
+<tr valign="top"><td><code>source</code></td>
+<td>
+<p>the name of external data source.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional argument(s) passed to the method.</p>
+</td></tr>
+</table>
+
+
+<h3>Details</h3>
+
+<p>The data source is specified by the <code>source</code> and a set of 
options(...).
+If <code>source</code> is not specified, the default data source configured by
+&quot;spark.sql.sources.default&quot; will be used.
+</p>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>createExternalTable since 1.4.0
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D sparkR.session()
+##D df &lt;- createExternalTable(&quot;myjson&quot;, 
path=&quot;path/to/json&quot;, source=&quot;json&quot;)
+## 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/createOrReplaceTempView.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/createOrReplaceTempView.html 
b/site/docs/2.1.2/api/R/createOrReplaceTempView.html
new file mode 100644
index 0000000..dc47d69
--- /dev/null
+++ b/site/docs/2.1.2/api/R/createOrReplaceTempView.html
@@ -0,0 +1,104 @@
+<!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: Creates a temporary view 
using the given name.</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 createOrReplaceTempView 
{SparkR}"><tr><td>createOrReplaceTempView {SparkR}</td><td style="text-align: 
right;">R Documentation</td></tr></table>
+
+<h2>Creates a temporary view using the given name.</h2>
+
+<h3>Description</h3>
+
+<p>Creates a new temporary view using a SparkDataFrame in the Spark Session. 
If a
+temporary view with the same name already exists, replaces it.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+createOrReplaceTempView(x, viewName)
+
+## S4 method for signature 'SparkDataFrame,character'
+createOrReplaceTempView(x, viewName)
+</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>viewName</code></td>
+<td>
+<p>A character vector containing the name of the table</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>createOrReplaceTempView since 2.0.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="coltypes.html">coltypes</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 &lt;- &quot;path/to/file.json&quot;
+##D df &lt;- read.json(path)
+##D createOrReplaceTempView(df, &quot;json_df&quot;)
+##D new_df &lt;- sql(&quot;SELECT * FROM json_df&quot;)
+## 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/crossJoin.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/crossJoin.html 
b/site/docs/2.1.2/api/R/crossJoin.html
new file mode 100644
index 0000000..8c56c45
--- /dev/null
+++ b/site/docs/2.1.2/api/R/crossJoin.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: CrossJoin</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 crossJoin {SparkR}"><tr><td>crossJoin 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>CrossJoin</h2>
+
+<h3>Description</h3>
+
+<p>Returns Cartesian Product on two SparkDataFrames.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'SparkDataFrame,SparkDataFrame'
+crossJoin(x, y)
+</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>y</code></td>
+<td>
+<p>A SparkDataFrame</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame containing the result of the join operation.
+</p>
+
+
+<h3>Note</h3>
+
+<p>crossJoin since 2.1.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="merge.html">merge</a> <a href="join.html">join</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="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="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 df1 &lt;- read.json(path)
+##D df2 &lt;- read.json(path2)
+##D crossJoin(df1, df2) # Performs a Cartesian
+## 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/crosstab.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/crosstab.html 
b/site/docs/2.1.2/api/R/crosstab.html
new file mode 100644
index 0000000..9941396
--- /dev/null
+++ b/site/docs/2.1.2/api/R/crosstab.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: Computes a pair-wise 
frequency table of the given columns</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 crosstab {SparkR}"><tr><td>crosstab 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Computes a pair-wise frequency table of the given columns</h2>
+
+<h3>Description</h3>
+
+<p>Computes a pair-wise frequency table of the given columns. Also known as a 
contingency
+table. The number of distinct values for each column should be less than 1e4. 
At most 1e6
+non-zero pair frequencies will be returned.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'SparkDataFrame,character,character'
+crosstab(x, col1, col2)
+</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>col1</code></td>
+<td>
+<p>name of the first column. Distinct items will make the first item of each 
row.</p>
+</td></tr>
+<tr valign="top"><td><code>col2</code></td>
+<td>
+<p>name of the second column. Distinct items will make the column names of the 
output.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>a local R data.frame representing the contingency table. The first column 
of each row
+will be the distinct values of <code>col1</code> and the column names will be 
the distinct values
+of <code>col2</code>. The name of the first column will be 
&quot;<code>col1</code>_<code>col2</code>&quot;. Pairs
+that have no occurrences will have zero as their counts.
+</p>
+
+
+<h3>Note</h3>
+
+<p>crosstab since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other stat functions: <code><a 
href="approxQuantile.html">approxQuantile</a></code>,
+<code><a href="corr.html">corr</a></code>, <code><a 
href="cov.html">cov</a></code>,
+<code><a href="freqItems.html">freqItems</a></code>, <code><a 
href="sampleBy.html">sampleBy</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D df &lt;- read.json(&quot;/path/to/file.json&quot;)
+##D ct &lt;- crosstab(df, &quot;title&quot;, &quot;gender&quot;)
+## 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/cume_dist.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/cume_dist.html 
b/site/docs/2.1.2/api/R/cume_dist.html
new file mode 100644
index 0000000..c794b23
--- /dev/null
+++ b/site/docs/2.1.2/api/R/cume_dist.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: cume_dist</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 cume_dist {SparkR}"><tr><td>cume_dist 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>cume_dist</h2>
+
+<h3>Description</h3>
+
+<p>Window function: returns the cumulative distribution of values within a 
window partition,
+i.e. the fraction of rows that are below the current row.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+cume_dist(x = "missing")
+
+## S4 method for signature 'missing'
+cume_dist()
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>empty. Should be used with no argument.</p>
+</td></tr>
+</table>
+
+
+<h3>Details</h3>
+
+<p>N = total number of rows in the partition
+cume_dist(x) = number of values before (and including) x / N
+</p>
+<p>This is equivalent to the <code>CUME_DIST</code> function in SQL.
+</p>
+
+
+<h3>Note</h3>
+
+<p>cume_dist since 1.6.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other window_funcs: <code><a href="dense_rank.html">dense_rank</a></code>,
+<code><a href="lag.html">lag</a></code>, <code><a 
href="lead.html">lead</a></code>,
+<code><a href="ntile.html">ntile</a></code>, <code><a 
href="percent_rank.html">percent_rank</a></code>,
+<code><a href="rank.html">rank</a></code>, <code><a 
href="row_number.html">row_number</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D   df &lt;- createDataFrame(mtcars)
+##D   ws &lt;- orderBy(windowPartitionBy(&quot;am&quot;), &quot;hp&quot;)
+##D   out &lt;- select(df, over(cume_dist(), ws), df$hp, df$am)
+## 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/dapply.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/dapply.html 
b/site/docs/2.1.2/api/R/dapply.html
new file mode 100644
index 0000000..5f60dfb
--- /dev/null
+++ b/site/docs/2.1.2/api/R/dapply.html
@@ -0,0 +1,131 @@
+<!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: dapply</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 dapply {SparkR}"><tr><td>dapply 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>dapply</h2>
+
+<h3>Description</h3>
+
+<p>Apply a function to each partition of a SparkDataFrame.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+dapply(x, func, schema)
+
+## S4 method for signature 'SparkDataFrame,'function',structType'
+dapply(x, func, schema)
+</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>func</code></td>
+<td>
+<p>A function to be applied to each partition of the SparkDataFrame.
+func should have only one parameter, to which a R data.frame corresponds
+to each partition will be passed.
+The output of func should be a R data.frame.</p>
+</td></tr>
+<tr valign="top"><td><code>schema</code></td>
+<td>
+<p>The schema of the resulting SparkDataFrame after the function is applied.
+It must match the output of func.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>dapply since 2.0.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="dapplyCollect.html">dapplyCollect</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="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="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   df &lt;- createDataFrame(iris)
+##D   df1 &lt;- dapply(df, function(x) { x }, schema(df))
+##D   collect(df1)
+##D 
+##D   # filter and add a column
+##D   df &lt;- createDataFrame(
+##D           list(list(1L, 1, &quot;1&quot;), list(2L, 2, &quot;2&quot;), 
list(3L, 3, &quot;3&quot;)),
+##D           c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))
+##D   schema &lt;- structType(structField(&quot;a&quot;, &quot;integer&quot;), 
structField(&quot;b&quot;, &quot;double&quot;),
+##D                      structField(&quot;c&quot;, &quot;string&quot;), 
structField(&quot;d&quot;, &quot;integer&quot;))
+##D   df1 &lt;- dapply(
+##D            df,
+##D            function(x) {
+##D              y &lt;- x[x[1] &gt; 1, ]
+##D              y &lt;- cbind(y, y[1] + 1L)
+##D            },
+##D            schema)
+##D   collect(df1)
+##D   # the result
+##D   #       a b c d
+##D   #     1 2 2 2 3
+##D   #     2 3 3 3 4
+## 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/dapplyCollect.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/dapplyCollect.html 
b/site/docs/2.1.2/api/R/dapplyCollect.html
new file mode 100644
index 0000000..d3f53e7
--- /dev/null
+++ b/site/docs/2.1.2/api/R/dapplyCollect.html
@@ -0,0 +1,122 @@
+<!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: dapplyCollect</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 dapplyCollect 
{SparkR}"><tr><td>dapplyCollect {SparkR}</td><td style="text-align: right;">R 
Documentation</td></tr></table>
+
+<h2>dapplyCollect</h2>
+
+<h3>Description</h3>
+
+<p>Apply a function to each partition of a SparkDataFrame and collect the 
result back
+to R as a data.frame.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+dapplyCollect(x, func)
+
+## S4 method for signature 'SparkDataFrame,'function''
+dapplyCollect(x, func)
+</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>func</code></td>
+<td>
+<p>A function to be applied to each partition of the SparkDataFrame.
+func should have only one parameter, to which a R data.frame corresponds
+to each partition will be passed.
+The output of func should be a R data.frame.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>dapplyCollect since 2.0.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="dapply.html">dapply</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="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="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   df &lt;- createDataFrame(iris)
+##D   ldf &lt;- dapplyCollect(df, function(x) { x })
+##D 
+##D   # filter and add a column
+##D   df &lt;- createDataFrame(
+##D           list(list(1L, 1, &quot;1&quot;), list(2L, 2, &quot;2&quot;), 
list(3L, 3, &quot;3&quot;)),
+##D           c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))
+##D   ldf &lt;- dapplyCollect(
+##D            df,
+##D            function(x) {
+##D              y &lt;- x[x[1] &gt; 1, ]
+##D              y &lt;- cbind(y, y[1] + 1L)
+##D            })
+##D   # the result
+##D   #       a b c d
+##D   #       2 2 2 3
+##D   #       3 3 3 4
+## 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/date_add.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/date_add.html 
b/site/docs/2.1.2/api/R/date_add.html
new file mode 100644
index 0000000..4c772a1
--- /dev/null
+++ b/site/docs/2.1.2/api/R/date_add.html
@@ -0,0 +1,75 @@
+<!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: date_add</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 date_add {SparkR}"><tr><td>date_add 
{SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>date_add</h2>
+
+<h3>Description</h3>
+
+<p>Returns the date that is <code>x</code> days after
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+date_add(y, x)
+
+## S4 method for signature 'Column,numeric'
+date_add(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>Number of days to add</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>date_add since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>,
+<code><a href="date_format.html">date_format</a></code>, <code><a 
href="date_sub.html">date_sub</a></code>,
+<code><a href="datediff.html">datediff</a></code>, <code><a 
href="dayofmonth.html">dayofmonth</a></code>,
+<code><a href="dayofyear.html">dayofyear</a></code>, <code><a 
href="from_unixtime.html">from_unixtime</a></code>,
+<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>, 
<code><a href="hour.html">hour</a></code>,
+<code><a href="last_day.html">last_day</a></code>, <code><a 
href="minute.html">minute</a></code>,
+<code><a href="months_between.html">months_between</a></code>, <code><a 
href="month.html">month</a></code>,
+<code><a href="next_day.html">next_day</a></code>, <code><a 
href="quarter.html">quarter</a></code>,
+<code><a href="second.html">second</a></code>, <code><a 
href="to_date.html">to_date</a></code>,
+<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>, <code><a 
href="weekofyear.html">weekofyear</a></code>,
+<code><a href="window.html">window</a></code>, <code><a 
href="year.html">year</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: date_add(df$d, 1)
+</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>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to