http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cacheTable.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cacheTable.html b/site/docs/1.6.3/api/R/cacheTable.html new file mode 100644 index 0000000..514da7c --- /dev/null +++ b/site/docs/1.6.3/api/R/cacheTable.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Cache Table</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cacheTable {SparkR}"><tr><td>cacheTable {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Cache Table</h2> + +<h3>Description</h3> + +<p>Caches the specified table in-memory. +</p> + + +<h3>Usage</h3> + +<pre> +cacheTable(sqlContext, tableName) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +<tr valign="top"><td><code>tableName</code></td> +<td> +<p>The name of the table being cached</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D registerTempTable(df, "table") +##D cacheTable(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html>
http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cancelJobGroup.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cancelJobGroup.html b/site/docs/1.6.3/api/R/cancelJobGroup.html new file mode 100644 index 0000000..a3a0d7d --- /dev/null +++ b/site/docs/1.6.3/api/R/cancelJobGroup.html @@ -0,0 +1,53 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Cancel active jobs for the specified group</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cancelJobGroup {SparkR}"><tr><td>cancelJobGroup {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Cancel active jobs for the specified group</h2> + +<h3>Description</h3> + +<p>Cancel active jobs for the specified group +</p> + + +<h3>Usage</h3> + +<pre> +cancelJobGroup(sc, groupId) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sc</code></td> +<td> +<p>existing spark context</p> +</td></tr> +<tr valign="top"><td><code>groupId</code></td> +<td> +<p>the ID of job group to be cancelled</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D cancelJobGroup(sc, "myJobGroup") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cast.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cast.html b/site/docs/1.6.3/api/R/cast.html new file mode 100644 index 0000000..adf5017 --- /dev/null +++ b/site/docs/1.6.3/api/R/cast.html @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Casts the column to a different data type.</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cast {SparkR}"><tr><td>cast {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Casts the column to a different data type.</h2> + +<h3>Description</h3> + +<p>Casts the column to a different data type. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +cast(x, dataType) +</pre> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="alias.html">alias</a></code>; +<code><a href="column.html">between</a></code>; <code><a href="otherwise.html">otherwise</a></code>; +<code><a href="substr.html">substr</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D cast(df$age, "string") +##D cast(df$name, list(type="array", elementType="byte", containsNull = TRUE)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cbrt.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cbrt.html b/site/docs/1.6.3/api/R/cbrt.html new file mode 100644 index 0000000..7e5ded9 --- /dev/null +++ b/site/docs/1.6.3/api/R/cbrt.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: cbrt</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cbrt {SparkR}"><tr><td>cbrt {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>cbrt</h2> + +<h3>Description</h3> + +<p>Computes the cube-root of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +cbrt(x) + +cbrt(x) +</pre> + + +<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="bin.html">bin</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</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="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: cbrt(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/ceil.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/ceil.html b/site/docs/1.6.3/api/R/ceil.html new file mode 100644 index 0000000..660af66 --- /dev/null +++ b/site/docs/1.6.3/api/R/ceil.html @@ -0,0 +1,76 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: ceil</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for ceil {SparkR}"><tr><td>ceil {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>ceil</h2> + +<h3>Description</h3> + +<p>Computes the ceiling of the given value. +</p> +<p>Computes the ceiling of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +ceil(x) + +## S4 method for signature 'Column' +ceiling(x) + +ceil(x) +</pre> + + +<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="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="conv.html">conv</a></code>, +<code><a href="conv.html">conv</a></code>; <code><a href="statfunctions.html">corr</a></code>; +<code><a href="cosh.html">cosh</a></code>; <code><a href="cos.html">cos</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="hex.html">hex</a></code>; +<code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; +<code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: ceil(df$c) +## Not run: ceiling(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/clearCache.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/clearCache.html b/site/docs/1.6.3/api/R/clearCache.html new file mode 100644 index 0000000..cc8a8e7 --- /dev/null +++ b/site/docs/1.6.3/api/R/clearCache.html @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Clear Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearCache {SparkR}"><tr><td>clearCache {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Clear Cache</h2> + +<h3>Description</h3> + +<p>Removes all cached tables from the in-memory cache. +</p> + + +<h3>Usage</h3> + +<pre> +clearCache(sqlContext) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D clearCache(sqlContext) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/clearJobGroup.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/clearJobGroup.html b/site/docs/1.6.3/api/R/clearJobGroup.html new file mode 100644 index 0000000..43a3a79 --- /dev/null +++ b/site/docs/1.6.3/api/R/clearJobGroup.html @@ -0,0 +1,49 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Clear current job group ID and its description</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearJobGroup {SparkR}"><tr><td>clearJobGroup {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Clear current job group ID and its description</h2> + +<h3>Description</h3> + +<p>Clear current job group ID and its description +</p> + + +<h3>Usage</h3> + +<pre> +clearJobGroup(sc) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sc</code></td> +<td> +<p>existing spark context</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D clearJobGroup(sc) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/col.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/col.html b/site/docs/1.6.3/api/R/col.html new file mode 100644 index 0000000..a9c8449 --- /dev/null +++ b/site/docs/1.6.3/api/R/col.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Though scala functions has "col" function, we don't expose it...</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 col {SparkR}"><tr><td>col {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Though scala functions has "col" function, we don't expose it in SparkR +because we don't want to conflict with the "col" function in the R base +package and we also have "column" function exported which is an alias of "col".</h2> + +<h3>Description</h3> + +<p>Though scala functions has "col" function, we don't expose it in SparkR +because we don't want to conflict with the "col" function in the R base +package and we also have "column" function exported which is an alias of "col". +</p> +<p>Returns a Column based on the given column name. +</p> + + +<h3>Usage</h3> + +<pre> +col(x) + +## S4 method for signature 'character' +column(x) + +column(x) +</pre> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>; +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="bitwiseNOT.html">bitwiseNOT</a></code>; +<code><a href="expr.html">expr</a></code>, <code><a href="expr.html">expr</a></code>; +<code><a href="greatest.html">greatest</a></code>, <code><a href="greatest.html">greatest</a></code>; +<code><a href="ifelse.html">ifelse</a></code>; <code><a href="is.nan.html">is.nan</a></code>, +<code><a href="is.nan.html">isnan</a></code>, <code><a href="is.nan.html">isnan</a></code>; +<code><a href="least.html">least</a></code>, <code><a href="least.html">least</a></code>; +<code><a href="lit.html">lit</a></code>, <code><a href="lit.html">lit</a></code>; +<code><a href="nanvl.html">nanvl</a></code>, <code><a href="nanvl.html">nanvl</a></code>; +<code><a href="negate.html">negate</a></code>, <code><a href="negate.html">negate</a></code>; +<code><a href="randn.html">randn</a></code>, <code><a href="randn.html">randn</a></code>, +<code><a href="randn.html">randn</a></code>; <code><a href="rand.html">rand</a></code>, +<code><a href="rand.html">rand</a></code>, <code><a href="rand.html">rand</a></code>; +<code><a href="struct.html">struct</a></code>, <code><a href="struct.html">struct</a></code>; +<code><a href="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: column(df) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/collect.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/collect.html b/site/docs/1.6.3/api/R/collect.html new file mode 100644 index 0000000..8101c4d --- /dev/null +++ b/site/docs/1.6.3/api/R/collect.html @@ -0,0 +1,139 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Collects all the elements of a Spark DataFrame and coerces...</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for collect {SparkR}"><tr><td>collect {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Collects all the elements of a Spark DataFrame and coerces them into an R data.frame.</h2> + +<h3>Description</h3> + +<p>Collects all the elements of a Spark DataFrame and coerces them into an R data.frame. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +collect(x, stringsAsFactors = FALSE) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>stringsAsFactors</code></td> +<td> +<p>(Optional) A logical indicating whether or not string columns +should be converted to factors. FALSE by default.</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>; +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="schema.html">columns</a></code>, +<code><a href="columns.html">names</a></code>, <code><a href="columns.html">names<-</a></code>; +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>; +<code><a href="schema.html">columns</a></code>, <code><a href="schema.html">dtypes</a></code>, +<code><a href="schema.html">printSchema</a></code>, <code><a href="schema.html">schema</a></code>, +<code><a href="schema.html">schema</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">nrow</a></code>; <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">summary</a></code>, <code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</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="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</a></code>; +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>; +<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>, +<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.df.html">write.df</a></code>; <code><a href="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>; +<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>; +<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D collected <- collect(df) +##D firstName <- collected[[1]]$name +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/coltypes.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/coltypes.html b/site/docs/1.6.3/api/R/coltypes.html new file mode 100644 index 0000000..cadd641 --- /dev/null +++ b/site/docs/1.6.3/api/R/coltypes.html @@ -0,0 +1,162 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: coltypes</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for coltypes {SparkR}"><tr><td>coltypes {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>coltypes</h2> + +<h3>Description</h3> + +<p>Get column types of a DataFrame +</p> +<p>Set the column types of a DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +coltypes(x) + +## S4 replacement method for signature 'DataFrame,character' +coltypes(x) <- value + +coltypes(x) + +coltypes(x) <- value +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>value</code></td> +<td> +<p>A character vector with the target column types for the given +DataFrame. Column types can be one of integer, numeric/double, character, logical, or NA +to keep that column as-is.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>value A character vector with the column types of the given DataFrame +</p> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>; +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="schema.html">columns</a></code>, <code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names<-</a></code>; <code><a href="schema.html">columns</a></code>, +<code><a href="schema.html">dtypes</a></code>, <code><a href="schema.html">printSchema</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">nrow</a></code>; +<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</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="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</a></code>; +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>; +<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>, +<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.df.html">write.df</a></code>; <code><a href="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>; +<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>; +<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D irisDF <- createDataFrame(sqlContext, iris) +##D coltypes(irisDF) +## End(Not run) +## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D coltypes(df) <- c("character", "integer") +##D coltypes(df) <- c(NA, "numeric") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/column.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/column.html b/site/docs/1.6.3/api/R/column.html new file mode 100644 index 0000000..4ad43b1 --- /dev/null +++ b/site/docs/1.6.3/api/R/column.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: S4 class that represents a DataFrame column</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> +</head><body> + +<table width="100%" summary="page for Column-class {SparkR}"><tr><td>Column-class {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>S4 class that represents a DataFrame column</h2> + +<h3>Description</h3> + +<p>The column class supports unary, binary operations on DataFrame columns +</p> + + +<h3>Usage</h3> + +<pre> +asc(x) + +between(x, bounds) + +cast(x, dataType) + +contains(x, ...) + +desc(x) + +endsWith(x, ...) + +getField(x, ...) + +getItem(x, ...) + +isNaN(x) + +isNull(x) + +isNotNull(x) + +like(x, ...) + +rlike(x, ...) + +startsWith(x, ...) + +when(condition, value) + +otherwise(x, value) +</pre> + + +<h3>Slots</h3> + + +<dl> +<dt><code>jc</code></dt><dd><p>reference to JVM DataFrame column</p> +</dd> +</dl> + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/columns.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/columns.html b/site/docs/1.6.3/api/R/columns.html new file mode 100644 index 0000000..dd96320 --- /dev/null +++ b/site/docs/1.6.3/api/R/columns.html @@ -0,0 +1,147 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Column 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 columns {SparkR}"><tr><td>columns {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Column names</h2> + +<h3>Description</h3> + +<p>Return all column names as a list +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +columns(x) + +## S4 method for signature 'DataFrame' +names(x) + +## S4 replacement method for signature 'DataFrame' +names(x) <- value + +## S4 method for signature 'DataFrame' +colnames(x) + +## S4 replacement method for signature 'DataFrame' +colnames(x) <- value + +colnames(x, do.NULL = TRUE, prefix = "col") + +colnames(x) <- value +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>; +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>; +<code><a href="schema.html">columns</a></code>, <code><a href="schema.html">dtypes</a></code>, +<code><a href="schema.html">printSchema</a></code>, <code><a href="schema.html">schema</a></code>, +<code><a href="schema.html">schema</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">nrow</a></code>; <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">summary</a></code>, <code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</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="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</a></code>; +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>; +<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>, +<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.df.html">write.df</a></code>; <code><a href="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>; +<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>; +<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D columns(df) +##D colnames(df) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/concat.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/concat.html b/site/docs/1.6.3/api/R/concat.html new file mode 100644 index 0000000..583db9d --- /dev/null +++ b/site/docs/1.6.3/api/R/concat.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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> +## S4 method for signature 'Column' +concat(x, ...) + +concat(x, ...) +</pre> + + +<h3>See Also</h3> + +<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>, +<code><a href="ascii.html">ascii</a></code>; <code><a href="base64.html">base64</a></code>, +<code><a href="base64.html">base64</a></code>; <code><a href="concat_ws.html">concat_ws</a></code>, +<code><a href="concat_ws.html">concat_ws</a></code>; <code><a href="decode.html">decode</a></code>, +<code><a href="decode.html">decode</a></code>; <code><a href="encode.html">encode</a></code>, +<code><a href="encode.html">encode</a></code>; <code><a href="format_number.html">format_number</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="format_string.html">format_string</a></code>; <code><a href="initcap.html">initcap</a></code>, +<code><a href="initcap.html">initcap</a></code>; <code><a href="instr.html">instr</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="levenshtein.html">levenshtein</a></code>; +<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>; +<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>; +<code><a href="lpad.html">lpad</a></code>, <code><a href="lpad.html">lpad</a></code>; +<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</a></code>; +<code><a href="regexp_extract.html">regexp_extract</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="regexp_replace.html">regexp_replace</a></code>; <code><a href="reverse.html">reverse</a></code>, +<code><a href="reverse.html">reverse</a></code>; <code><a href="rpad.html">rpad</a></code>, +<code><a href="rpad.html">rpad</a></code>; <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="rtrim.html">rtrim</a></code>; <code><a href="soundex.html">soundex</a></code>, +<code><a href="soundex.html">soundex</a></code>; <code><a href="substring_index.html">substring_index</a></code>, +<code><a href="substring_index.html">substring_index</a></code>; <code><a href="translate.html">translate</a></code>, +<code><a href="translate.html">translate</a></code>; <code><a href="trim.html">trim</a></code>, +<code><a href="trim.html">trim</a></code>; <code><a href="unbase64.html">unbase64</a></code>, +<code><a href="unbase64.html">unbase64</a></code>; <code><a href="upper.html">upper</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/concat_ws.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/concat_ws.html b/site/docs/1.6.3/api/R/concat_ws.html new file mode 100644 index 0000000..f9c2936 --- /dev/null +++ b/site/docs/1.6.3/api/R/concat_ws.html @@ -0,0 +1,73 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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> +## S4 method for signature 'character,Column' +concat_ws(sep, x, ...) + +concat_ws(sep, x, ...) +</pre> + + +<h3>See Also</h3> + +<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>, +<code><a href="ascii.html">ascii</a></code>; <code><a href="base64.html">base64</a></code>, +<code><a href="base64.html">base64</a></code>; <code><a href="concat.html">concat</a></code>, +<code><a href="concat.html">concat</a></code>; <code><a href="decode.html">decode</a></code>, +<code><a href="decode.html">decode</a></code>; <code><a href="encode.html">encode</a></code>, +<code><a href="encode.html">encode</a></code>; <code><a href="format_number.html">format_number</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="format_string.html">format_string</a></code>; <code><a href="initcap.html">initcap</a></code>, +<code><a href="initcap.html">initcap</a></code>; <code><a href="instr.html">instr</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="levenshtein.html">levenshtein</a></code>; +<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>; +<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>; +<code><a href="lpad.html">lpad</a></code>, <code><a href="lpad.html">lpad</a></code>; +<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</a></code>; +<code><a href="regexp_extract.html">regexp_extract</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="regexp_replace.html">regexp_replace</a></code>; <code><a href="reverse.html">reverse</a></code>, +<code><a href="reverse.html">reverse</a></code>; <code><a href="rpad.html">rpad</a></code>, +<code><a href="rpad.html">rpad</a></code>; <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="rtrim.html">rtrim</a></code>; <code><a href="soundex.html">soundex</a></code>, +<code><a href="soundex.html">soundex</a></code>; <code><a href="substring_index.html">substring_index</a></code>, +<code><a href="substring_index.html">substring_index</a></code>; <code><a href="translate.html">translate</a></code>, +<code><a href="translate.html">translate</a></code>; <code><a href="trim.html">trim</a></code>, +<code><a href="trim.html">trim</a></code>; <code><a href="unbase64.html">unbase64</a></code>, +<code><a href="unbase64.html">unbase64</a></code>; <code><a href="upper.html">upper</a></code>, +<code><a href="upper.html">upper</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: concat_ws('-', df$s, df$d) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/conv.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/conv.html b/site/docs/1.6.3/api/R/conv.html new file mode 100644 index 0000000..33d296e --- /dev/null +++ b/site/docs/1.6.3/api/R/conv.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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> +## S4 method for signature 'Column,numeric,numeric' +conv(x, fromBase, toBase) + +conv(x, fromBase, toBase) +</pre> + + +<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="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</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="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/corr.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/corr.html b/site/docs/1.6.3/api/R/corr.html new file mode 100644 index 0000000..d117abd --- /dev/null +++ b/site/docs/1.6.3/api/R/corr.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 align="right">R Documentation</td></tr></table> + +<h2>corr</h2> + +<h3>Description</h3> + +<p>Computes the Pearson Correlation Coefficient for two Columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +corr(x, col2) +</pre> + + +<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="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</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="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="hex.html">hex</a></code>; +<code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; +<code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: corr(df$c, df$d) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cos.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cos.html b/site/docs/1.6.3/api/R/cos.html new file mode 100644 index 0000000..24fa5dd --- /dev/null +++ b/site/docs/1.6.3/api/R/cos.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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>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="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</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="hex.html">hex</a></code>; +<code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; +<code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/cosh.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/cosh.html b/site/docs/1.6.3/api/R/cosh.html new file mode 100644 index 0000000..a06bde8 --- /dev/null +++ b/site/docs/1.6.3/api/R/cosh.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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>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="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cos.html">cos</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="hex.html">hex</a></code>; +<code><a href="hypot.html">hypot</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="pmod.html">pmod</a></code>; +<code><a href="rint.html">rint</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="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.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="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/count.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/count.html b/site/docs/1.6.3/api/R/count.html new file mode 100644 index 0000000..7e6f8c3 --- /dev/null +++ b/site/docs/1.6.3/api/R/count.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 align="right">R Documentation</td></tr></table> + +<h2>count</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the number of items in a group. +</p> +<p>Aggregate function: returns the number of items in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +count(x) + +## S4 method for signature 'Column' +n(x) + +n(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">summarize</a></code>; +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>; <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg</a></code>; <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis</a></code>; <code><a href="last.html">last</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="sd.html">sd</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>; <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness</a></code>; <code><a href="stddev_pop.html">stddev_pop</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="stddev_samp.html">stddev_samp</a></code>; <code><a href="sumDistinct.html">sumDistinct</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_pop.html">var_pop</a></code>; +<code><a href="var_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>; +<code><a href="var.html">var</a></code>, <code><a href="var.html">var</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: count(df$c) +## Not run: n(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/countDistinct.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/countDistinct.html b/site/docs/1.6.3/api/R/countDistinct.html new file mode 100644 index 0000000..51acb8d --- /dev/null +++ b/site/docs/1.6.3/api/R/countDistinct.html @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Count Distinct</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 align="right">R Documentation</td></tr></table> + +<h2>Count Distinct</h2> + +<h3>Description</h3> + +<p>Count Distinct +</p> +<p>Aggregate function: returns the number of distinct items in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +countDistinct(x, ...) + +## S4 method for signature 'Column' +n_distinct(x, ...) + +countDistinct(x, ...) + +n_distinct(x, ...) +</pre> + + +<h3>Value</h3> + +<p>the number of distinct items in a group. +</p> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">summarize</a></code>; +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>; <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg</a></code>; <code><a href="nrow.html">count</a></code>, <code><a href="count.html">n</a></code>, +<code><a href="count.html">n</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis</a></code>; <code><a href="last.html">last</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="sd.html">sd</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>; <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness</a></code>; <code><a href="stddev_pop.html">stddev_pop</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="stddev_samp.html">stddev_samp</a></code>; <code><a href="sumDistinct.html">sumDistinct</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_pop.html">var_pop</a></code>; +<code><a href="var_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>; +<code><a href="var.html">var</a></code>, <code><a href="var.html">var</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/crc32.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/crc32.html b/site/docs/1.6.3/api/R/crc32.html new file mode 100644 index 0000000..b30b37a --- /dev/null +++ b/site/docs/1.6.3/api/R/crc32.html @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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> +## S4 method for signature 'Column' +crc32(x) + +crc32(x) +</pre> + + +<h3>See Also</h3> + +<p>Other misc_funcs: <code><a href="md5.html">md5</a></code>, <code><a href="md5.html">md5</a></code>; +<code><a href="sha1.html">sha1</a></code>, <code><a href="sha1.html">sha1</a></code>; +<code><a href="sha2.html">sha2</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 align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/createDataFrame.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/createDataFrame.html b/site/docs/1.6.3/api/R/createDataFrame.html new file mode 100644 index 0000000..ab2208d --- /dev/null +++ b/site/docs/1.6.3/api/R/createDataFrame.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Create a DataFrame</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 align="right">R Documentation</td></tr></table> + +<h2>Create a DataFrame</h2> + +<h3>Description</h3> + +<p>Converts R data.frame or list into DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +createDataFrame(sqlContext, data, schema = NULL, samplingRatio = 1) + +as.DataFrame(sqlContext, data, schema = NULL, samplingRatio = 1) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>A SQLContext</p> +</td></tr> +<tr valign="top"><td><code>data</code></td> +<td> +<p>An RDD or 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> +</table> + + +<h3>Value</h3> + +<p>an DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df1 <- as.DataFrame(sqlContext, iris) +##D df2 <- as.DataFrame(sqlContext, list(3,4,5,6)) +##D df3 <- createDataFrame(sqlContext, iris) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/createExternalTable.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/createExternalTable.html b/site/docs/1.6.3/api/R/createExternalTable.html new file mode 100644 index 0000000..8abd45e --- /dev/null +++ b/site/docs/1.6.3/api/R/createExternalTable.html @@ -0,0 +1,77 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><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 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 the DataFrame associated with the external table. +</p> + + +<h3>Usage</h3> + +<pre> +createExternalTable(sqlContext, tableName, path = NULL, source = NULL, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +<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> +</table> + + +<h3>Details</h3> + +<p>The data source is specified by the 'source' and a set of options(...). +If 'source' is not specified, the default data source configured by +"spark.sql.sources.default" will be used. +</p> + + +<h3>Value</h3> + +<p>DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df <- sparkRSQL.createExternalTable(sqlContext, "myjson", path="path/to/json", source="json") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <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