spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hol...@apache.org
Subject [36/51] [partial] spark-website git commit: Add 2.1.2 docs
Date Tue, 17 Oct 2017 20:13:09 GMT
http://git-wip-us.apache.org/repos/asf/spark-website/blob/0b563c84/site/docs/2.1.2/api/R/summary.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/summary.html b/site/docs/2.1.2/api/R/summary.html
new file mode 100644
index 0000000..d074b00
--- /dev/null
+++ b/site/docs/2.1.2/api/R/summary.html
@@ -0,0 +1,132 @@
+<!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: summary</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 describe {SparkR}"><tr><td>describe {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>summary</h2>
+
+<h3>Description</h3>
+
+<p>Computes statistics for numeric and string columns.
+If no columns are given, this function computes statistics for all numerical or string columns.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+describe(x, col, ...)
+
+summary(object, ...)
+
+## S4 method for signature 'SparkDataFrame,character'
+describe(x, col, ...)
+
+## S4 method for signature 'SparkDataFrame,ANY'
+describe(x)
+
+## S4 method for signature 'SparkDataFrame'
+summary(object, ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a SparkDataFrame to be computed.</p>
+</td></tr>
+<tr valign="top"><td><code>col</code></td>
+<td>
+<p>a string of name.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional expressions.</p>
+</td></tr>
+<tr valign="top"><td><code>object</code></td>
+<td>
+<p>a SparkDataFrame to be summarized.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>describe(SparkDataFrame, character) since 1.4.0
+</p>
+<p>describe(SparkDataFrame) since 1.4.0
+</p>
+<p>summary(SparkDataFrame) since 1.5.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="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="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 describe(df)
+##D describe(df, &quot;col1&quot;)
+##D describe(df, &quot;col1&quot;, &quot;col2&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/0b563c84/site/docs/2.1.2/api/R/tableNames.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/tableNames.html b/site/docs/2.1.2/api/R/tableNames.html
new file mode 100644
index 0000000..cf05272
--- /dev/null
+++ b/site/docs/2.1.2/api/R/tableNames.html
@@ -0,0 +1,61 @@
+<!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: Table Names</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 tableNames {SparkR}"><tr><td>tableNames {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Table Names</h2>
+
+<h3>Description</h3>
+
+<p>Returns the names of tables in the given database as an array.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## Default S3 method:
+tableNames(databaseName = NULL)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>databaseName</code></td>
+<td>
+<p>name of the database</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>a list of table names
+</p>
+
+
+<h3>Note</h3>
+
+<p>tableNames since 1.4.0
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D sparkR.session()
+##D tableNames(&quot;hive&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/0b563c84/site/docs/2.1.2/api/R/tableToDF.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/tableToDF.html b/site/docs/2.1.2/api/R/tableToDF.html
new file mode 100644
index 0000000..3164dae
--- /dev/null
+++ b/site/docs/2.1.2/api/R/tableToDF.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: Create a SparkDataFrame from a SparkSQL 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 tableToDF {SparkR}"><tr><td>tableToDF {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Create a SparkDataFrame from a SparkSQL Table</h2>
+
+<h3>Description</h3>
+
+<p>Returns the specified Table as a SparkDataFrame.  The Table must have already been registered
+in the SparkSession.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+tableToDF(tableName)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>tableName</code></td>
+<td>
+<p>The SparkSQL Table to convert to a SparkDataFrame.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>SparkDataFrame
+</p>
+
+
+<h3>Note</h3>
+
+<p>tableToDF since 2.0.0
+</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;table&quot;)
+##D new_df &lt;- tableToDF(&quot;table&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/0b563c84/site/docs/2.1.2/api/R/tables.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/tables.html b/site/docs/2.1.2/api/R/tables.html
new file mode 100644
index 0000000..7db1f09
--- /dev/null
+++ b/site/docs/2.1.2/api/R/tables.html
@@ -0,0 +1,61 @@
+<!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: Tables</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 tables {SparkR}"><tr><td>tables {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Tables</h2>
+
+<h3>Description</h3>
+
+<p>Returns a SparkDataFrame containing names of tables in the given database.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## Default S3 method:
+tables(databaseName = NULL)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>databaseName</code></td>
+<td>
+<p>name of the database</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>a SparkDataFrame
+</p>
+
+
+<h3>Note</h3>
+
+<p>tables since 1.4.0
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D sparkR.session()
+##D tables(&quot;hive&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/0b563c84/site/docs/2.1.2/api/R/take.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/take.html b/site/docs/2.1.2/api/R/take.html
new file mode 100644
index 0000000..b32f909
--- /dev/null
+++ b/site/docs/2.1.2/api/R/take.html
@@ -0,0 +1,103 @@
+<!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: Take the first NUM rows of a SparkDataFrame and return the...</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 take {SparkR}"><tr><td>take {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Take the first NUM rows of a SparkDataFrame and return the results as a R data.frame</h2>
+
+<h3>Description</h3>
+
+<p>Take the first NUM rows of a SparkDataFrame and return the results as a R data.frame
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+take(x, num)
+
+## S4 method for signature 'SparkDataFrame,numeric'
+take(x, num)
+</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>num</code></td>
+<td>
+<p>number of rows to take.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>take 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="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="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 take(df, 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/0b563c84/site/docs/2.1.2/api/R/tan.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/tan.html b/site/docs/2.1.2/api/R/tan.html
new file mode 100644
index 0000000..45a8c34
--- /dev/null
+++ b/site/docs/2.1.2/api/R/tan.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: tan</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 tan {SparkR}"><tr><td>tan {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>tan</h2>
+
+<h3>Description</h3>
+
+<p>Computes the tangent of the given value.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+tan(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>tan 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="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="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: tan(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/0b563c84/site/docs/2.1.2/api/R/tanh.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/tanh.html b/site/docs/2.1.2/api/R/tanh.html
new file mode 100644
index 0000000..a9f9080
--- /dev/null
+++ b/site/docs/2.1.2/api/R/tanh.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: tanh</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 tanh {SparkR}"><tr><td>tanh {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>tanh</h2>
+
+<h3>Description</h3>
+
+<p>Computes the hyperbolic tangent of the given value.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+tanh(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>tanh 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="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="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: tanh(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/0b563c84/site/docs/2.1.2/api/R/toDegrees.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/toDegrees.html b/site/docs/2.1.2/api/R/toDegrees.html
new file mode 100644
index 0000000..89c7e69
--- /dev/null
+++ b/site/docs/2.1.2/api/R/toDegrees.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: toDegrees</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 toDegrees {SparkR}"><tr><td>toDegrees {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>toDegrees</h2>
+
+<h3>Description</h3>
+
+<p>Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+toDegrees(x)
+
+## S4 method for signature 'Column'
+toDegrees(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>toDegrees 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="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="toRadians.html">toRadians</a></code>,
+<code><a href="unhex.html">unhex</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: toDegrees(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/0b563c84/site/docs/2.1.2/api/R/toRadians.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/toRadians.html b/site/docs/2.1.2/api/R/toRadians.html
new file mode 100644
index 0000000..201471b
--- /dev/null
+++ b/site/docs/2.1.2/api/R/toRadians.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: toRadians</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 toRadians {SparkR}"><tr><td>toRadians {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>toRadians</h2>
+
+<h3>Description</h3>
+
+<p>Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+toRadians(x)
+
+## S4 method for signature 'Column'
+toRadians(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>toRadians 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="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="unhex.html">unhex</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: toRadians(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/0b563c84/site/docs/2.1.2/api/R/to_date.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/to_date.html b/site/docs/2.1.2/api/R/to_date.html
new file mode 100644
index 0000000..cfd0c22
--- /dev/null
+++ b/site/docs/2.1.2/api/R/to_date.html
@@ -0,0 +1,71 @@
+<!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: to_date</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 to_date {SparkR}"><tr><td>to_date {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>to_date</h2>
+
+<h3>Description</h3>
+
+<p>Converts the column into DateType.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+to_date(x)
+
+## S4 method for signature 'Column'
+to_date(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>to_date 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_add.html">date_add</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_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: to_date(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/0b563c84/site/docs/2.1.2/api/R/to_utc_timestamp.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/to_utc_timestamp.html b/site/docs/2.1.2/api/R/to_utc_timestamp.html
new file mode 100644
index 0000000..5db04d5
--- /dev/null
+++ b/site/docs/2.1.2/api/R/to_utc_timestamp.html
@@ -0,0 +1,76 @@
+<!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: to_utc_timestamp</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 to_utc_timestamp {SparkR}"><tr><td>to_utc_timestamp {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>to_utc_timestamp</h2>
+
+<h3>Description</h3>
+
+<p>Given a timestamp, which corresponds to a certain time of day in the given timezone, returns
+another timestamp that corresponds to the same time of day in UTC.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+to_utc_timestamp(y, x)
+
+## S4 method for signature 'Column,character'
+to_utc_timestamp(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>timezone to use</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>to_utc_timestamp 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_add.html">date_add</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="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: to_utc_timestamp(df$t, &#39;PST&#39;)
+</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/0b563c84/site/docs/2.1.2/api/R/translate.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/translate.html b/site/docs/2.1.2/api/R/translate.html
new file mode 100644
index 0000000..0e463ec
--- /dev/null
+++ b/site/docs/2.1.2/api/R/translate.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: translate</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 translate {SparkR}"><tr><td>translate {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>translate</h2>
+
+<h3>Description</h3>
+
+<p>Translate any character in the src by a character in replaceString.
+The characters in replaceString is corresponding to the characters in matchingString.
+The translate will happen when any character in the string matching with the character
+in the matchingString.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+translate(x, matchingString, replaceString)
+
+## S4 method for signature 'Column,character,character'
+translate(x, matchingString,
+  replaceString)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a string Column.</p>
+</td></tr>
+<tr valign="top"><td><code>matchingString</code></td>
+<td>
+<p>a source string where each character will be translated.</p>
+</td></tr>
+<tr valign="top"><td><code>replaceString</code></td>
+<td>
+<p>a target string where each <code>matchingString</code> character will
+be replaced by the character in <code>replaceString</code>
+at the same location, if any.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>translate 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="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="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: translate(df$c, &#39;rnlt&#39;, &#39;123&#39;)
+</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/0b563c84/site/docs/2.1.2/api/R/trim.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/trim.html b/site/docs/2.1.2/api/R/trim.html
new file mode 100644
index 0000000..77be267
--- /dev/null
+++ b/site/docs/2.1.2/api/R/trim.html
@@ -0,0 +1,73 @@
+<!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: trim</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 trim {SparkR}"><tr><td>trim {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>trim</h2>
+
+<h3>Description</h3>
+
+<p>Trim the spaces from both ends for the specified string column.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+trim(x)
+
+## S4 method for signature 'Column'
+trim(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>trim 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="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="unbase64.html">unbase64</a></code>,
+<code><a href="upper.html">upper</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: trim(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/0b563c84/site/docs/2.1.2/api/R/unbase64.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/unbase64.html b/site/docs/2.1.2/api/R/unbase64.html
new file mode 100644
index 0000000..fee6e44
--- /dev/null
+++ b/site/docs/2.1.2/api/R/unbase64.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: unbase64</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 unbase64 {SparkR}"><tr><td>unbase64 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>unbase64</h2>
+
+<h3>Description</h3>
+
+<p>Decodes a BASE64 encoded string column and returns it as a binary column.
+This is the reverse of base64.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+unbase64(x)
+
+## S4 method for signature 'Column'
+unbase64(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>unbase64 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="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="upper.html">upper</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: unbase64(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/0b563c84/site/docs/2.1.2/api/R/uncacheTable.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/uncacheTable.html b/site/docs/2.1.2/api/R/uncacheTable.html
new file mode 100644
index 0000000..f498245
--- /dev/null
+++ b/site/docs/2.1.2/api/R/uncacheTable.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: Uncache 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 uncacheTable {SparkR}"><tr><td>uncacheTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Uncache Table</h2>
+
+<h3>Description</h3>
+
+<p>Removes the specified table from the in-memory cache.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## Default S3 method:
+uncacheTable(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 uncached</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>SparkDataFrame
+</p>
+
+
+<h3>Note</h3>
+
+<p>uncacheTable since 1.4.0
+</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;table&quot;)
+##D uncacheTable(&quot;table&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/0b563c84/site/docs/2.1.2/api/R/unhex.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/unhex.html b/site/docs/2.1.2/api/R/unhex.html
new file mode 100644
index 0000000..380b90f
--- /dev/null
+++ b/site/docs/2.1.2/api/R/unhex.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: unhex</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 unhex {SparkR}"><tr><td>unhex {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>unhex</h2>
+
+<h3>Description</h3>
+
+<p>Inverse of hex. Interprets each pair of characters as a hexadecimal number
+and converts to the byte representation of number.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+unhex(x)
+
+## S4 method for signature 'Column'
+unhex(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>unhex 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="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>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: unhex(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/0b563c84/site/docs/2.1.2/api/R/union.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/union.html b/site/docs/2.1.2/api/R/union.html
new file mode 100644
index 0000000..f9e4628
--- /dev/null
+++ b/site/docs/2.1.2/api/R/union.html
@@ -0,0 +1,128 @@
+<!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: Return a new SparkDataFrame containing the union of rows</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 union {SparkR}"><tr><td>union {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Return a new SparkDataFrame containing the union of rows</h2>
+
+<h3>Description</h3>
+
+<p>Return a new SparkDataFrame containing the union of rows in this SparkDataFrame
+and another SparkDataFrame. This is equivalent to <code>UNION ALL</code> in SQL.
+</p>
+<p>unionAll is deprecated - use union instead
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+union(x, y)
+
+unionAll(x, y)
+
+## S4 method for signature 'SparkDataFrame,SparkDataFrame'
+union(x, y)
+
+## S4 method for signature 'SparkDataFrame,SparkDataFrame'
+unionAll(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>Details</h3>
+
+<p>Note: This does not remove duplicate rows across the two SparkDataFrames.
+</p>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame containing the result of the union.
+</p>
+
+
+<h3>Note</h3>
+
+<p>union since 2.0.0
+</p>
+<p>unionAll since 1.4.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="rbind.html">rbind</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="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="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 unioned &lt;- union(df, df2)
+##D unions &lt;- rbind(df, df2, df3, df4)
+## 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/0b563c84/site/docs/2.1.2/api/R/unix_timestamp.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/unix_timestamp.html b/site/docs/2.1.2/api/R/unix_timestamp.html
new file mode 100644
index 0000000..6d383af
--- /dev/null
+++ b/site/docs/2.1.2/api/R/unix_timestamp.html
@@ -0,0 +1,91 @@
+<!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: unix_timestamp</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 unix_timestamp {SparkR}"><tr><td>unix_timestamp {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>unix_timestamp</h2>
+
+<h3>Description</h3>
+
+<p>Gets current Unix timestamp in seconds.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+unix_timestamp(x, format)
+
+## S4 method for signature 'missing,missing'
+unix_timestamp(x, format)
+
+## S4 method for signature 'Column,missing'
+unix_timestamp(x, format)
+
+## S4 method for signature 'Column,character'
+unix_timestamp(x, format = "yyyy-MM-dd HH:mm:ss")
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a Column of date, in string, date or timestamp type.</p>
+</td></tr>
+<tr valign="top"><td><code>format</code></td>
+<td>
+<p>the target format. See
+<a href="http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html">
+Customizing Formats</a> for available options.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>unix_timestamp since 1.5.0
+</p>
+<p>unix_timestamp(Column) since 1.5.0
+</p>
+<p>unix_timestamp(Column, character) 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_add.html">date_add</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="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: 
+##D unix_timestamp()
+##D unix_timestamp(df$t)
+##D unix_timestamp(df$t, &#39;yyyy-MM-dd HH&#39;)
+## 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/0b563c84/site/docs/2.1.2/api/R/unpersist.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/unpersist.html b/site/docs/2.1.2/api/R/unpersist.html
new file mode 100644
index 0000000..7ca2bad
--- /dev/null
+++ b/site/docs/2.1.2/api/R/unpersist.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: Unpersist</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 unpersist {SparkR}"><tr><td>unpersist {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>Unpersist</h2>
+
+<h3>Description</h3>
+
+<p>Mark this SparkDataFrame as non-persistent, and remove all blocks for it from memory and
+disk.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+unpersist(x, ...)
+
+## S4 method for signature 'SparkDataFrame'
+unpersist(x, blocking = TRUE)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>the SparkDataFrame to unpersist.</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>blocking</code></td>
+<td>
+<p>whether to block until all blocks are deleted.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>unpersist 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="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="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 persist(df, &quot;MEMORY_AND_DISK&quot;)
+##D unpersist(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/0b563c84/site/docs/2.1.2/api/R/upper.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/upper.html b/site/docs/2.1.2/api/R/upper.html
new file mode 100644
index 0000000..e065514
--- /dev/null
+++ b/site/docs/2.1.2/api/R/upper.html
@@ -0,0 +1,73 @@
+<!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: upper</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 upper {SparkR}"><tr><td>upper {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>upper</h2>
+
+<h3>Description</h3>
+
+<p>Converts a string column to upper case.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+upper(x)
+
+## S4 method for signature 'Column'
+upper(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>upper since 1.4.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="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>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: upper(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/0b563c84/site/docs/2.1.2/api/R/var.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/var.html b/site/docs/2.1.2/api/R/var.html
new file mode 100644
index 0000000..7429e3b
--- /dev/null
+++ b/site/docs/2.1.2/api/R/var.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: var</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 var {SparkR}"><tr><td>var {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>var</h2>
+
+<h3>Description</h3>
+
+<p>Aggregate function: alias for <a href="var_samp.html">var_samp</a>.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+var(x, y = NULL, na.rm = FALSE, use)
+
+variance(x)
+
+## S4 method for signature 'Column'
+var(x)
+
+## S4 method for signature 'Column'
+variance(x)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a Column to compute on.</p>
+</td></tr>
+<tr valign="top"><td><code>y, na.rm, use</code></td>
+<td>
+<p>currently not used.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>var since 1.6.0
+</p>
+<p>variance since 1.6.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="var_pop.html">var_pop</a>, <a href="var_samp.html">var_samp</a>
+</p>
+<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="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>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D variance(df$c)
+##D select(df, var_pop(df$age))
+##D agg(df, var(df$age))
+## 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/0b563c84/site/docs/2.1.2/api/R/var_pop.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/var_pop.html b/site/docs/2.1.2/api/R/var_pop.html
new file mode 100644
index 0000000..30c72a9
--- /dev/null
+++ b/site/docs/2.1.2/api/R/var_pop.html
@@ -0,0 +1,70 @@
+<!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: var_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 var_pop {SparkR}"><tr><td>var_pop {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>var_pop</h2>
+
+<h3>Description</h3>
+
+<p>Aggregate function: returns the population variance of the values in a group.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+var_pop(x)
+
+## S4 method for signature 'Column'
+var_pop(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>var_pop since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="var.html">var</a>, <a href="var_samp.html">var_samp</a>
+</p>
+<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="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_samp.html">var_samp</a></code>,
+<code><a href="var.html">var</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: var_pop(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/0b563c84/site/docs/2.1.2/api/R/var_samp.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/var_samp.html b/site/docs/2.1.2/api/R/var_samp.html
new file mode 100644
index 0000000..dd4e788
--- /dev/null
+++ b/site/docs/2.1.2/api/R/var_samp.html
@@ -0,0 +1,70 @@
+<!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: var_samp</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 var_samp {SparkR}"><tr><td>var_samp {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>var_samp</h2>
+
+<h3>Description</h3>
+
+<p>Aggregate function: returns the unbiased variance of the values in a group.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+var_samp(x)
+
+## S4 method for signature 'Column'
+var_samp(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>var_samp since 1.6.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="var_pop.html">var_pop</a>, <a href="var.html">var</a>
+</p>
+<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="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.html">var</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: var_samp(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/0b563c84/site/docs/2.1.2/api/R/weekofyear.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/weekofyear.html b/site/docs/2.1.2/api/R/weekofyear.html
new file mode 100644
index 0000000..686a4ea
--- /dev/null
+++ b/site/docs/2.1.2/api/R/weekofyear.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: weekofyear</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 weekofyear {SparkR}"><tr><td>weekofyear {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>weekofyear</h2>
+
+<h3>Description</h3>
+
+<p>Extracts the week number as an integer from a given date/timestamp/string.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+weekofyear(x)
+
+## S4 method for signature 'Column'
+weekofyear(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>weekofyear 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_add.html">date_add</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="window.html">window</a></code>,
+<code><a href="year.html">year</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: weekofyear(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/0b563c84/site/docs/2.1.2/api/R/when.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.2/api/R/when.html b/site/docs/2.1.2/api/R/when.html
new file mode 100644
index 0000000..7f5015a
--- /dev/null
+++ b/site/docs/2.1.2/api/R/when.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: when</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 when {SparkR}"><tr><td>when {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table>
+
+<h2>when</h2>
+
+<h3>Description</h3>
+
+<p>Evaluates a list of conditions and returns one of multiple possible result expressions.
+For unmatched expressions null is returned.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+when(condition, value)
+
+## S4 method for signature 'Column'
+when(condition, value)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>condition</code></td>
+<td>
+<p>the condition to test on. Must be a Column expression.</p>
+</td></tr>
+<tr valign="top"><td><code>value</code></td>
+<td>
+<p>result expression.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>when since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="ifelse.html">ifelse</a>
+</p>
+<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="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>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: when(df$age == 2, df$age + 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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message