diff options
author | Shivaram Venkataraman <shivaram@apache.org> | 2015-09-18 16:25:35 +0000 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@apache.org> | 2015-09-18 16:25:35 +0000 |
commit | f788f5c327ffd05f0116e4489fd844ce535d5980 (patch) | |
tree | 34f8313fc366964e928c58fbea2ca70f2086bf9b | |
parent | 6f57b0c45a7d1b6255067c6e9bc549baa491acac (diff) | |
download | spark-website-f788f5c327ffd05f0116e4489fd844ce535d5980.tar.gz spark-website-f788f5c327ffd05f0116e4489fd844ce535d5980.tar.bz2 spark-website-f788f5c327ffd05f0116e4489fd844ce535d5980.zip |
Add 1.5.0 R API docs back
206 files changed, 13407 insertions, 0 deletions
diff --git a/site/docs/1.5.0/api/R/00Index.html b/site/docs/1.5.0/api/R/00Index.html new file mode 100644 index 000000000..5ed369336 --- /dev/null +++ b/site/docs/1.5.0/api/R/00Index.html @@ -0,0 +1,669 @@ +<!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: R frontend for Spark</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> +<h1> R frontend for Spark +<img class="toplogo" src="http://stat.ethz.ch/R-manual/R-devel/doc/html/logo.jpg" alt="[R logo]" /> +</h1> +<hr/> +<div style="text-align: center;"> +<a href="http://stat.ethz.ch/R-manual/R-devel/doc/html/packages.html"><img class="arrow" src="http://stat.ethz.ch/R-manual/R-devel/doc/html/left.jpg" alt="[Up]" /></a> +<a href="http://stat.ethz.ch/R-manual/R-devel/doc/html/index.html"><img class="arrow" src="http://stat.ethz.ch/R-manual/R-devel/doc/html/up.jpg" alt="[Top]" /></a> +</div><h2>Documentation for package ‘SparkR’ version 1.5.0</h2> + +<ul><li><a href="../DESCRIPTION">DESCRIPTION file</a>.</li> +</ul> + +<h2>Help Pages</h2> + + +<p style="text-align: center;"> +<a href="#A">A</a> +<a href="#B">B</a> +<a href="#C">C</a> +<a href="#D">D</a> +<a href="#E">E</a> +<a href="#F">F</a> +<a href="#G">G</a> +<a href="#H">H</a> +<a href="#I">I</a> +<a href="#J">J</a> +<a href="#L">L</a> +<a href="#M">M</a> +<a href="#N">N</a> +<a href="#O">O</a> +<a href="#P">P</a> +<a href="#Q">Q</a> +<a href="#R">R</a> +<a href="#S">S</a> +<a href="#T">T</a> +<a href="#U">U</a> +<a href="#W">W</a> +<a href="#Y">Y</a> +<a href="#misc">misc</a> +</p> + + +<h2><a name="A">-- A --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="abs.html">abs</a></td> +<td>abs</td></tr> +<tr><td style="width: 25%;"><a href="acos.html">acos</a></td> +<td>acos</td></tr> +<tr><td style="width: 25%;"><a href="add_months.html">add_months</a></td> +<td>add_months</td></tr> +<tr><td style="width: 25%;"><a href="agg.html">agg</a></td> +<td>Summarize data across columns</td></tr> +<tr><td style="width: 25%;"><a href="agg.html">agg-method</a></td> +<td>Summarize data across columns</td></tr> +<tr><td style="width: 25%;"><a href="alias.html">alias</a></td> +<td>alias</td></tr> +<tr><td style="width: 25%;"><a href="approxCountDistinct.html">approxCountDistinct</a></td> +<td>approxCountDistinct</td></tr> +<tr><td style="width: 25%;"><a href="arrange.html">arrange</a></td> +<td>Arrange</td></tr> +<tr><td style="width: 25%;"><a href="column.html">asc</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="ascii.html">ascii</a></td> +<td>ascii</td></tr> +<tr><td style="width: 25%;"><a href="asin.html">asin</a></td> +<td>asin</td></tr> +<tr><td style="width: 25%;"><a href="atan.html">atan</a></td> +<td>atan</td></tr> +<tr><td style="width: 25%;"><a href="atan2.html">atan2</a></td> +<td>atan2</td></tr> +<tr><td style="width: 25%;"><a href="avg.html">avg</a></td> +<td>avg</td></tr> +</table> + +<h2><a name="B">-- B --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="base64.html">base64</a></td> +<td>base64</td></tr> +<tr><td style="width: 25%;"><a href="between.html">between</a></td> +<td>between</td></tr> +<tr><td style="width: 25%;"><a href="column.html">between</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="bin.html">bin</a></td> +<td>bin</td></tr> +<tr><td style="width: 25%;"><a href="bitwiseNOT.html">bitwiseNOT</a></td> +<td>bitwiseNOT</td></tr> +</table> + +<h2><a name="C">-- C --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="cache.html">cache</a></td> +<td>Cache</td></tr> +<tr><td style="width: 25%;"><a href="cacheTable.html">cacheTable</a></td> +<td>Cache Table</td></tr> +<tr><td style="width: 25%;"><a href="cancelJobGroup.html">cancelJobGroup</a></td> +<td>Cancel active jobs for the specified group</td></tr> +<tr><td style="width: 25%;"><a href="cast.html">cast</a></td> +<td>Casts the column to a different data type.</td></tr> +<tr><td style="width: 25%;"><a href="column.html">cast</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="cbrt.html">cbrt</a></td> +<td>cbrt</td></tr> +<tr><td style="width: 25%;"><a href="ceil.html">ceil</a></td> +<td>ceil</td></tr> +<tr><td style="width: 25%;"><a href="clearCache.html">clearCache</a></td> +<td>Clear Cache</td></tr> +<tr><td style="width: 25%;"><a href="clearJobGroup.html">clearJobGroup</a></td> +<td>Clear current job group ID and its description</td></tr> +<tr><td style="width: 25%;"><a href="collect.html">collect</a></td> +<td>Collects all the elements of a Spark DataFrame and coerces them into an R data.frame.</td></tr> +<tr><td style="width: 25%;"><a href="column.html">Column-class</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="columns.html">columns</a></td> +<td>Column names</td></tr> +<tr><td style="width: 25%;"><a href="schema.html">columns</a></td> +<td>Get schema object</td></tr> +<tr><td style="width: 25%;"><a href="concat.html">concat</a></td> +<td>concat</td></tr> +<tr><td style="width: 25%;"><a href="concat_ws.html">concat_ws</a></td> +<td>concat_ws</td></tr> +<tr><td style="width: 25%;"><a href="column.html">contains</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="conv.html">conv</a></td> +<td>conv</td></tr> +<tr><td style="width: 25%;"><a href="cos.html">cos</a></td> +<td>cos</td></tr> +<tr><td style="width: 25%;"><a href="cosh.html">cosh</a></td> +<td>cosh</td></tr> +<tr><td style="width: 25%;"><a href="count.html">count</a></td> +<td>Count</td></tr> +<tr><td style="width: 25%;"><a href="nrow.html">count</a></td> +<td>Number of rows for a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="agg.html">count-method</a></td> +<td>Summarize data across columns</td></tr> +<tr><td style="width: 25%;"><a href="countDistinct.html">countDistinct</a></td> +<td>Count Distinct</td></tr> +<tr><td style="width: 25%;"><a href="crc32.html">crc32</a></td> +<td>crc32</td></tr> +<tr><td style="width: 25%;"><a href="createDataFrame.html">createDataFrame</a></td> +<td>Create a DataFrame from an RDD</td></tr> +<tr><td style="width: 25%;"><a href="createExternalTable.html">createExternalTable</a></td> +<td>Create an external table</td></tr> +<tr><td style="width: 25%;"><a href="statfunctions.html">crosstab</a></td> +<td>crosstab</td></tr> +</table> + +<h2><a name="D">-- D --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="DataFrame.html">dataFrame</a></td> +<td>S4 class that represents a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="DataFrame.html">DataFrame-class</a></td> +<td>S4 class that represents a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="datediff.html">datediff</a></td> +<td>datediff</td></tr> +<tr><td style="width: 25%;"><a href="date_add.html">date_add</a></td> +<td>date_add</td></tr> +<tr><td style="width: 25%;"><a href="date_format.html">date_format</a></td> +<td>date_format</td></tr> +<tr><td style="width: 25%;"><a href="date_sub.html">date_sub</a></td> +<td>date_sub</td></tr> +<tr><td style="width: 25%;"><a href="dayofmonth.html">dayofmonth</a></td> +<td>dayofmonth</td></tr> +<tr><td style="width: 25%;"><a href="dayofyear.html">dayofyear</a></td> +<td>dayofyear</td></tr> +<tr><td style="width: 25%;"><a href="column.html">desc</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="describe.html">describe</a></td> +<td>describe</td></tr> +<tr><td style="width: 25%;"><a href="dim.html">dim</a></td> +<td>Returns the dimentions (number of rows and columns) of a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="distinct.html">distinct</a></td> +<td>Distinct</td></tr> +<tr><td style="width: 25%;"><a href="unique.html">distinct</a></td> +<td>Distinct rows in a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="nafunctions.html">dropna</a></td> +<td>dropna</td></tr> +<tr><td style="width: 25%;"><a href="dropTempTable.html">dropTempTable</a></td> +<td>Drop Temporary Table</td></tr> +<tr><td style="width: 25%;"><a href="dtypes.html">dtypes</a></td> +<td>DataTypes</td></tr> +<tr><td style="width: 25%;"><a href="schema.html">dtypes</a></td> +<td>Get schema object</td></tr> +</table> + +<h2><a name="E">-- E --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="column.html">endsWith</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="except.html">except</a></td> +<td>except</td></tr> +<tr><td style="width: 25%;"><a href="exp.html">exp</a></td> +<td>exp</td></tr> +<tr><td style="width: 25%;"><a href="explain.html">explain</a></td> +<td>Explain</td></tr> +<tr><td style="width: 25%;"><a href="explode.html">explode</a></td> +<td>explode</td></tr> +<tr><td style="width: 25%;"><a href="expm1.html">expm1</a></td> +<td>expm1</td></tr> +<tr><td style="width: 25%;"><a href="expr.html">expr</a></td> +<td>expr</td></tr> +</table> + +<h2><a name="F">-- F --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="factorial.html">factorial</a></td> +<td>factorial</td></tr> +<tr><td style="width: 25%;"><a href="nafunctions.html">fillna</a></td> +<td>dropna</td></tr> +<tr><td style="width: 25%;"><a href="filter.html">filter</a></td> +<td>Filter</td></tr> +<tr><td style="width: 25%;"><a href="first.html">first</a></td> +<td>Return the first row of a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="floor.html">floor</a></td> +<td>floor</td></tr> +<tr><td style="width: 25%;"><a href="format_number.html">format_number</a></td> +<td>format_number</td></tr> +<tr><td style="width: 25%;"><a href="format_string.html">format_string</a></td> +<td>format_string</td></tr> +<tr><td style="width: 25%;"><a href="from_unixtime.html">from_unixtime</a></td> +<td>from_unixtime</td></tr> +<tr><td style="width: 25%;"><a href="from_utc_timestamp.html">from_utc_timestamp</a></td> +<td>from_utc_timestamp</td></tr> +</table> + +<h2><a name="G">-- G --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="column.html">getField</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="column.html">getItem</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="glm.html">glm</a></td> +<td>Fits a generalized linear model</td></tr> +<tr><td style="width: 25%;"><a href="glm.html">glm-method</a></td> +<td>Fits a generalized linear model</td></tr> +<tr><td style="width: 25%;"><a href="greatest.html">greatest</a></td> +<td>greatest</td></tr> +<tr><td style="width: 25%;"><a href="groupBy.html">groupBy</a></td> +<td>GroupBy</td></tr> +<tr><td style="width: 25%;"><a href="DataFrame.html">groupedData</a></td> +<td>S4 class that represents a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="GroupedData.html">GroupedData-class</a></td> +<td>S4 class that represents a GroupedData</td></tr> +<tr><td style="width: 25%;"><a href="groupBy.html">group_by</a></td> +<td>GroupBy</td></tr> +</table> + +<h2><a name="H">-- H --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="hashCode.html">hashCode</a></td> +<td>Compute the hashCode of an object</td></tr> +<tr><td style="width: 25%;"><a href="head.html">head</a></td> +<td>Head</td></tr> +<tr><td style="width: 25%;"><a href="hex.html">hex</a></td> +<td>hex</td></tr> +<tr><td style="width: 25%;"><a href="hour.html">hour</a></td> +<td>hour</td></tr> +<tr><td style="width: 25%;"><a href="hypot.html">hypot</a></td> +<td>hypot</td></tr> +</table> + +<h2><a name="I">-- I --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="ifelse.html">ifelse</a></td> +<td>ifelse</td></tr> +<tr><td style="width: 25%;"><a href="infer_type.html">infer_type</a></td> +<td>infer the SQL type</td></tr> +<tr><td style="width: 25%;"><a href="initcap.html">initcap</a></td> +<td>initcap</td></tr> +<tr><td style="width: 25%;"><a href="insertInto.html">insertInto</a></td> +<td>insertInto</td></tr> +<tr><td style="width: 25%;"><a href="instr.html">instr</a></td> +<td>instr</td></tr> +<tr><td style="width: 25%;"><a href="intersect.html">intersect</a></td> +<td>Intersect</td></tr> +<tr><td style="width: 25%;"><a href="isLocal.html">isLocal</a></td> +<td>isLocal</td></tr> +<tr><td style="width: 25%;"><a href="isNaN.html">isNaN</a></td> +<td>isNaN</td></tr> +<tr><td style="width: 25%;"><a href="column.html">isNotNull</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="column.html">isNull</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +</table> + +<h2><a name="J">-- J --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="join.html">join</a></td> +<td>Join</td></tr> +<tr><td style="width: 25%;"><a href="merge.html">join</a></td> +<td>rdname merge</td></tr> +<tr><td style="width: 25%;"><a href="jsonFile.html">jsonFile</a></td> +<td>Create a DataFrame from a JSON file.</td></tr> +</table> + +<h2><a name="L">-- L --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="last.html">last</a></td> +<td>last</td></tr> +<tr><td style="width: 25%;"><a href="last_day.html">last_day</a></td> +<td>last_day</td></tr> +<tr><td style="width: 25%;"><a href="least.html">least</a></td> +<td>least</td></tr> +<tr><td style="width: 25%;"><a href="length.html">length</a></td> +<td>length</td></tr> +<tr><td style="width: 25%;"><a href="levenshtein.html">levenshtein</a></td> +<td>levenshtein</td></tr> +<tr><td style="width: 25%;"><a href="column.html">like</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="limit.html">limit</a></td> +<td>Limit</td></tr> +<tr><td style="width: 25%;"><a href="lit.html">lit</a></td> +<td>Creates a 'Column' of literal value.</td></tr> +<tr><td style="width: 25%;"><a href="locate.html">locate</a></td> +<td>locate</td></tr> +<tr><td style="width: 25%;"><a href="log.html">log</a></td> +<td>log</td></tr> +<tr><td style="width: 25%;"><a href="log10.html">log10</a></td> +<td>log10</td></tr> +<tr><td style="width: 25%;"><a href="log1p.html">log1p</a></td> +<td>log1p</td></tr> +<tr><td style="width: 25%;"><a href="log2.html">log2</a></td> +<td>log2</td></tr> +<tr><td style="width: 25%;"><a href="lower.html">lower</a></td> +<td>lower</td></tr> +<tr><td style="width: 25%;"><a href="lpad.html">lpad</a></td> +<td>lpad</td></tr> +<tr><td style="width: 25%;"><a href="ltrim.html">ltrim</a></td> +<td>ltrim</td></tr> +</table> + +<h2><a name="M">-- M --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="max.html">max</a></td> +<td>max</td></tr> +<tr><td style="width: 25%;"><a href="md5.html">md5</a></td> +<td>md5</td></tr> +<tr><td style="width: 25%;"><a href="mean.html">mean</a></td> +<td>mean</td></tr> +<tr><td style="width: 25%;"><a href="merge.html">merge</a></td> +<td>rdname merge</td></tr> +<tr><td style="width: 25%;"><a href="min.html">min</a></td> +<td>min</td></tr> +<tr><td style="width: 25%;"><a href="minute.html">minute</a></td> +<td>minute</td></tr> +<tr><td style="width: 25%;"><a href="month.html">month</a></td> +<td>month</td></tr> +<tr><td style="width: 25%;"><a href="months_between.html">months_between</a></td> +<td>months_between</td></tr> +<tr><td style="width: 25%;"><a href="withColumn.html">mutate</a></td> +<td>WithColumn</td></tr> +</table> + +<h2><a name="N">-- N --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="count.html">n</a></td> +<td>Count</td></tr> +<tr><td style="width: 25%;"><a href="nafunctions.html">na.omit</a></td> +<td>dropna</td></tr> +<tr><td style="width: 25%;"><a href="columns.html">names</a></td> +<td>Column names</td></tr> +<tr><td style="width: 25%;"><a href="columns.html">names<-</a></td> +<td>Column names</td></tr> +<tr><td style="width: 25%;"><a href="nanvl.html">nanvl</a></td> +<td>nanvl</td></tr> +<tr><td style="width: 25%;"><a href="ncol.html">ncol</a></td> +<td>Returns the number of columns in a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="negate.html">negate</a></td> +<td>negate</td></tr> +<tr><td style="width: 25%;"><a href="next_day.html">next_day</a></td> +<td>next_day</td></tr> +<tr><td style="width: 25%;"><a href="count.html">nrow</a></td> +<td>Count</td></tr> +<tr><td style="width: 25%;"><a href="nrow.html">nrow</a></td> +<td>Number of rows for a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="countDistinct.html">n_distinct</a></td> +<td>Count Distinct</td></tr> +</table> + +<h2><a name="O">-- O --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="arrange.html">orderBy</a></td> +<td>Arrange</td></tr> +<tr><td style="width: 25%;"><a href="arrange.html">orderby</a></td> +<td>Arrange</td></tr> +<tr><td style="width: 25%;"><a href="column.html">otherwise</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="otherwise.html">otherwise</a></td> +<td>otherwise</td></tr> +</table> + +<h2><a name="P">-- P --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="parquetFile.html">parquetFile</a></td> +<td>Create a DataFrame from a Parquet file.</td></tr> +<tr><td style="width: 25%;"><a href="persist.html">persist</a></td> +<td>Persist</td></tr> +<tr><td style="width: 25%;"><a href="PipelineModel-class.html">PipelineModel-class</a></td> +<td>S4 class that represents a PipelineModel</td></tr> +<tr><td style="width: 25%;"><a href="pmod.html">pmod</a></td> +<td>pmod</td></tr> +<tr><td style="width: 25%;"><a href="predict.html">predict-method</a></td> +<td>Make predictions from a model</td></tr> +<tr><td style="width: 25%;"><a href="print.jobj.html">print.jobj</a></td> +<td>Print a JVM object reference.</td></tr> +<tr><td style="width: 25%;"><a href="print.structField.html">print.structField</a></td> +<td>Print a Spark StructField.</td></tr> +<tr><td style="width: 25%;"><a href="print.structType.html">print.structType</a></td> +<td>Print a Spark StructType.</td></tr> +<tr><td style="width: 25%;"><a href="printSchema.html">printSchema</a></td> +<td>Print Schema of a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="schema.html">printSchema</a></td> +<td>Get schema object</td></tr> +</table> + +<h2><a name="Q">-- Q --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="quarter.html">quarter</a></td> +<td>quarter</td></tr> +</table> + +<h2><a name="R">-- R --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="rand.html">rand</a></td> +<td>rand</td></tr> +<tr><td style="width: 25%;"><a href="randn.html">randn</a></td> +<td>randn</td></tr> +<tr><td style="width: 25%;"><a href="rbind.html">rbind</a></td> +<td>Union two or more DataFrames</td></tr> +<tr><td style="width: 25%;"><a href="read.df.html">read.df</a></td> +<td>Load an DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="regexp_extract.html">regexp_extract</a></td> +<td>regexp_extract</td></tr> +<tr><td style="width: 25%;"><a href="regexp_replace.html">regexp_replace</a></td> +<td>regexp_replace</td></tr> +<tr><td style="width: 25%;"><a href="registerTempTable.html">registerTempTable</a></td> +<td>Register Temporary Table</td></tr> +<tr><td style="width: 25%;"><a href="withColumnRenamed.html">rename</a></td> +<td>WithColumnRenamed</td></tr> +<tr><td style="width: 25%;"><a href="repartition.html">repartition</a></td> +<td>Repartition</td></tr> +<tr><td style="width: 25%;"><a href="reverse.html">reverse</a></td> +<td>reverse</td></tr> +<tr><td style="width: 25%;"><a href="rint.html">rint</a></td> +<td>rint</td></tr> +<tr><td style="width: 25%;"><a href="column.html">rlike</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="round.html">round</a></td> +<td>round</td></tr> +<tr><td style="width: 25%;"><a href="rpad.html">rpad</a></td> +<td>rpad</td></tr> +<tr><td style="width: 25%;"><a href="rtrim.html">rtrim</a></td> +<td>rtrim</td></tr> +</table> + +<h2><a name="S">-- S --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="sample.html">sample</a></td> +<td>Sample</td></tr> +<tr><td style="width: 25%;"><a href="sample.html">sample-method</a></td> +<td>Sample</td></tr> +<tr><td style="width: 25%;"><a href="sample.html">sample_frac</a></td> +<td>Sample</td></tr> +<tr><td style="width: 25%;"><a href="saveAsParquetFile.html">saveAsParquetFile</a></td> +<td>saveAsParquetFile</td></tr> +<tr><td style="width: 25%;"><a href="saveAsTable.html">saveAsTable</a></td> +<td>saveAsTable</td></tr> +<tr><td style="width: 25%;"><a href="write.df.html">saveDF</a></td> +<td>Save the contents of the DataFrame to a data source</td></tr> +<tr><td style="width: 25%;"><a href="schema.html">schema</a></td> +<td>Get schema object</td></tr> +<tr><td style="width: 25%;"><a href="second.html">second</a></td> +<td>second</td></tr> +<tr><td style="width: 25%;"><a href="select.html">select</a></td> +<td>Select</td></tr> +<tr><td style="width: 25%;"><a href="select.html">select-method</a></td> +<td>Select</td></tr> +<tr><td style="width: 25%;"><a href="select.html">selectExpr</a></td> +<td>Select</td></tr> +<tr><td style="width: 25%;"><a href="selectExpr.html">selectExpr</a></td> +<td>SelectExpr</td></tr> +<tr><td style="width: 25%;"><a href="setJobGroup.html">setJobGroup</a></td> +<td>Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared.</td></tr> +<tr><td style="width: 25%;"><a href="sha1.html">sha1</a></td> +<td>sha1</td></tr> +<tr><td style="width: 25%;"><a href="sha2.html">sha2</a></td> +<td>sha2</td></tr> +<tr><td style="width: 25%;"><a href="shiftLeft.html">shiftLeft</a></td> +<td>shiftLeft</td></tr> +<tr><td style="width: 25%;"><a href="shiftRight.html">shiftRight</a></td> +<td>shiftRight</td></tr> +<tr><td style="width: 25%;"><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></td> +<td>shiftRightUnsigned</td></tr> +<tr><td style="width: 25%;"><a href="show.html">show</a></td> +<td>show</td></tr> +<tr><td style="width: 25%;"><a href="show.html">show-method</a></td> +<td>show</td></tr> +<tr><td style="width: 25%;"><a href="showDF.html">showDF</a></td> +<td>showDF</td></tr> +<tr><td style="width: 25%;"><a href="signum.html">signum</a></td> +<td>signum</td></tr> +<tr><td style="width: 25%;"><a href="sin.html">sin</a></td> +<td>sin</td></tr> +<tr><td style="width: 25%;"><a href="sinh.html">sinh</a></td> +<td>sinh</td></tr> +<tr><td style="width: 25%;"><a href="size.html">size</a></td> +<td>size</td></tr> +<tr><td style="width: 25%;"><a href="soundex.html">soundex</a></td> +<td>soundex</td></tr> +<tr><td style="width: 25%;"><a href="sparkR.init.html">sparkR.init</a></td> +<td>Initialize a new Spark Context.</td></tr> +<tr><td style="width: 25%;"><a href="sparkR.stop.html">sparkR.stop</a></td> +<td>Stop the Spark context.</td></tr> +<tr><td style="width: 25%;"><a href="sparkRHive.init.html">sparkRHive.init</a></td> +<td>Initialize a new HiveContext.</td></tr> +<tr><td style="width: 25%;"><a href="sparkRSQL.init.html">sparkRSQL.init</a></td> +<td>Initialize a new SQLContext.</td></tr> +<tr><td style="width: 25%;"><a href="sql.html">sql</a></td> +<td>SQL Query</td></tr> +<tr><td style="width: 25%;"><a href="sqrt.html">sqrt</a></td> +<td>sqrt</td></tr> +<tr><td style="width: 25%;"><a href="column.html">startsWith</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="structField.html">structField</a></td> +<td>structField</td></tr> +<tr><td style="width: 25%;"><a href="structType.html">structType</a></td> +<td>structType</td></tr> +<tr><td style="width: 25%;"><a href="subset.html">subset</a></td> +<td>Subset</td></tr> +<tr><td style="width: 25%;"><a href="substr.html">substr</a></td> +<td>substr</td></tr> +<tr><td style="width: 25%;"><a href="substring_index.html">substring_index</a></td> +<td>substring_index</td></tr> +<tr><td style="width: 25%;"><a href="sum.html">sum</a></td> +<td>sum</td></tr> +<tr><td style="width: 25%;"><a href="sumDistinct.html">sumDistinct</a></td> +<td>sumDistinct</td></tr> +<tr><td style="width: 25%;"><a href="agg.html">summarize</a></td> +<td>Summarize data across columns</td></tr> +<tr><td style="width: 25%;"><a href="agg.html">summarize-method</a></td> +<td>Summarize data across columns</td></tr> +<tr><td style="width: 25%;"><a href="describe.html">summary</a></td> +<td>describe</td></tr> +<tr><td style="width: 25%;"><a href="summary.html">summary</a></td> +<td>Summary</td></tr> +<tr><td style="width: 25%;"><a href="summary.html">summary-method</a></td> +<td>Summary</td></tr> +</table> + +<h2><a name="T">-- T --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="table.html">table</a></td> +<td>Create a DataFrame from a SparkSQL Table</td></tr> +<tr><td style="width: 25%;"><a href="tableNames.html">tableNames</a></td> +<td>Table Names</td></tr> +<tr><td style="width: 25%;"><a href="tables.html">tables</a></td> +<td>Tables</td></tr> +<tr><td style="width: 25%;"><a href="take.html">take</a></td> +<td>Take the first NUM rows of a DataFrame and return a the results as a data.frame</td></tr> +<tr><td style="width: 25%;"><a href="tan.html">tan</a></td> +<td>tan</td></tr> +<tr><td style="width: 25%;"><a href="tanh.html">tanh</a></td> +<td>tanh</td></tr> +<tr><td style="width: 25%;"><a href="toDegrees.html">toDegrees</a></td> +<td>toDegrees</td></tr> +<tr><td style="width: 25%;"><a href="toRadians.html">toRadians</a></td> +<td>toRadians</td></tr> +<tr><td style="width: 25%;"><a href="DataFrame.html">toRDD</a></td> +<td>S4 class that represents a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="to_date.html">to_date</a></td> +<td>to_date</td></tr> +<tr><td style="width: 25%;"><a href="to_utc_timestamp.html">to_utc_timestamp</a></td> +<td>to_utc_timestamp</td></tr> +<tr><td style="width: 25%;"><a href="withColumn.html">transform</a></td> +<td>WithColumn</td></tr> +<tr><td style="width: 25%;"><a href="translate.html">translate</a></td> +<td>translate</td></tr> +<tr><td style="width: 25%;"><a href="trim.html">trim</a></td> +<td>trim</td></tr> +</table> + +<h2><a name="U">-- U --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="unbase64.html">unbase64</a></td> +<td>unbase64</td></tr> +<tr><td style="width: 25%;"><a href="uncacheTable.html">uncacheTable</a></td> +<td>Uncache Table</td></tr> +<tr><td style="width: 25%;"><a href="unhex.html">unhex</a></td> +<td>unhex</td></tr> +<tr><td style="width: 25%;"><a href="rbind.html">unionAll</a></td> +<td>Union two or more DataFrames</td></tr> +<tr><td style="width: 25%;"><a href="unionAll.html">unionAll</a></td> +<td>UnionAll</td></tr> +<tr><td style="width: 25%;"><a href="unique.html">unique</a></td> +<td>Distinct rows in a DataFrame</td></tr> +<tr><td style="width: 25%;"><a href="unix_timestamp.html">unix_timestamp</a></td> +<td>unix_timestamp</td></tr> +<tr><td style="width: 25%;"><a href="unpersist-methods.html">unpersist</a></td> +<td>Unpersist</td></tr> +<tr><td style="width: 25%;"><a href="upper.html">upper</a></td> +<td>upper</td></tr> +</table> + +<h2><a name="W">-- W --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="weekofyear.html">weekofyear</a></td> +<td>weekofyear</td></tr> +<tr><td style="width: 25%;"><a href="column.html">when</a></td> +<td>S4 class that represents a DataFrame column</td></tr> +<tr><td style="width: 25%;"><a href="when.html">when</a></td> +<td>when</td></tr> +<tr><td style="width: 25%;"><a href="filter.html">where</a></td> +<td>Filter</td></tr> +<tr><td style="width: 25%;"><a href="withColumn.html">withColumn</a></td> +<td>WithColumn</td></tr> +<tr><td style="width: 25%;"><a href="withColumnRenamed.html">withColumnRenamed</a></td> +<td>WithColumnRenamed</td></tr> +<tr><td style="width: 25%;"><a href="write.df.html">write.df</a></td> +<td>Save the contents of the DataFrame to a data source</td></tr> +</table> + +<h2><a name="Y">-- Y --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="year.html">year</a></td> +<td>year</td></tr> +</table> + +<h2><a name="misc">-- misc --</a></h2> + +<table width="100%"> +<tr><td style="width: 25%;"><a href="select.html">$</a></td> +<td>Select</td></tr> +<tr><td style="width: 25%;"><a href="select.html">$<-</a></td> +<td>Select</td></tr> +<tr><td style="width: 25%;"><a href="match.html">%in%</a></td> +<td>Match a column with given values.</td></tr> +<tr><td style="width: 25%;"><a href="subset.html">[</a></td> +<td>Subset</td></tr> +<tr><td style="width: 25%;"><a href="subset.html">[[</a></td> +<td>Subset</td></tr> +</table> +</body></html> diff --git a/site/docs/1.5.0/api/R/00frame_toc.html b/site/docs/1.5.0/api/R/00frame_toc.html new file mode 100644 index 000000000..ab19014b5 --- /dev/null +++ b/site/docs/1.5.0/api/R/00frame_toc.html @@ -0,0 +1,293 @@ +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + +<title>R Documentation of SparkR</title> + +<script type="text/javascript"> +window.onload = function() { + var imgs = document.getElementsByTagName('img'), i, img; + for (i = 0; i < imgs.length; i++) { + img = imgs[i]; + // center an image if it is the only element of its parent + if (img.parentElement.childElementCount === 1) + img.parentElement.style.textAlign = 'center'; + } +}; +</script> + + + + + +<style type="text/css"> +* { + font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif; + font-size: 14px; +} +body { + padding: 0 5px; + margin: 0 auto; + width: 80%; + max-width: 60em; /* 960px */ +} + +h1, h2, h3, h4, h5, h6 { + color: #666; +} +h1, h2 { + text-align: center; +} +h1 { + font-size: x-large; +} +h2, h3 { + font-size: large; +} +h4, h6 { + font-style: italic; +} +h3 { + border-left: solid 5px #ddd; + padding-left: 5px; + font-variant: small-caps; +} + +p img { + display: block; + margin: auto; +} + +span, code, pre { + font-family: Monaco, "Lucida Console", "Courier New", Courier, monospace; +} +span.acronym {} +span.env { + font-style: italic; +} +span.file {} +span.option {} +span.pkg { + font-weight: bold; +} +span.samp{} + +dt, p code { + background-color: #F7F7F7; +} + +</style> + + + +</head> + +<body> +<h1>SparkR</h1> + +<ul> +<li><a href="DataFrame.html" target="content">DataFrame</a></li> +<li><a href="GroupedData.html" target="content">GroupedData</a></li> +<li><a href="PipelineModel-class.html" target="content">PipelineModel-class</a></li> +<li><a href="abs.html" target="content">abs</a></li> +<li><a href="acos.html" target="content">acos</a></li> +<li><a href="add_months.html" target="content">add_months</a></li> +<li><a href="agg.html" target="content">agg</a></li> +<li><a href="alias.html" target="content">alias</a></li> +<li><a href="approxCountDistinct.html" target="content">approxCountDistinct</a></li> +<li><a href="arrange.html" target="content">arrange</a></li> +<li><a href="ascii.html" target="content">ascii</a></li> +<li><a href="asin.html" target="content">asin</a></li> +<li><a href="atan.html" target="content">atan</a></li> +<li><a href="atan2.html" target="content">atan2</a></li> +<li><a href="avg.html" target="content">avg</a></li> +<li><a href="base64.html" target="content">base64</a></li> +<li><a href="between.html" target="content">between</a></li> +<li><a href="bin.html" target="content">bin</a></li> +<li><a href="bitwiseNOT.html" target="content">bitwiseNOT</a></li> +<li><a href="cache.html" target="content">cache</a></li> +<li><a href="cacheTable.html" target="content">cacheTable</a></li> +<li><a href="cancelJobGroup.html" target="content">cancelJobGroup</a></li> +<li><a href="cast.html" target="content">cast</a></li> +<li><a href="cbrt.html" target="content">cbrt</a></li> +<li><a href="ceil.html" target="content">ceil</a></li> +<li><a href="clearCache.html" target="content">clearCache</a></li> +<li><a href="clearJobGroup.html" target="content">clearJobGroup</a></li> +<li><a href="collect.html" target="content">collect</a></li> +<li><a href="column.html" target="content">column</a></li> +<li><a href="columns.html" target="content">columns</a></li> +<li><a href="concat.html" target="content">concat</a></li> +<li><a href="concat_ws.html" target="content">concat_ws</a></li> +<li><a href="conv.html" target="content">conv</a></li> +<li><a href="cos.html" target="content">cos</a></li> +<li><a href="cosh.html" target="content">cosh</a></li> +<li><a href="count.html" target="content">count</a></li> +<li><a href="countDistinct.html" target="content">countDistinct</a></li> +<li><a href="crc32.html" target="content">crc32</a></li> +<li><a href="createDataFrame.html" target="content">createDataFrame</a></li> +<li><a href="createExternalTable.html" target="content">createExternalTable</a></li> +<li><a href="date_add.html" target="content">date_add</a></li> +<li><a href="date_format.html" target="content">date_format</a></li> +<li><a href="date_sub.html" target="content">date_sub</a></li> +<li><a href="datediff.html" target="content">datediff</a></li> +<li><a href="dayofmonth.html" target="content">dayofmonth</a></li> +<li><a href="dayofyear.html" target="content">dayofyear</a></li> +<li><a href="describe.html" target="content">describe</a></li> +<li><a href="dim.html" target="content">dim</a></li> +<li><a href="distinct.html" target="content">distinct</a></li> +<li><a href="dropTempTable.html" target="content">dropTempTable</a></li> +<li><a href="dtypes.html" target="content">dtypes</a></li> +<li><a href="except.html" target="content">except</a></li> +<li><a href="exp.html" target="content">exp</a></li> +<li><a href="explain.html" target="content">explain</a></li> +<li><a href="explode.html" target="content">explode</a></li> +<li><a href="expm1.html" target="content">expm1</a></li> +<li><a href="expr.html" target="content">expr</a></li> +<li><a href="factorial.html" target="content">factorial</a></li> +<li><a href="filter.html" target="content">filter</a></li> +<li><a href="first.html" target="content">first</a></li> +<li><a href="floor.html" target="content">floor</a></li> +<li><a href="format_number.html" target="content">format_number</a></li> +<li><a href="format_string.html" target="content">format_string</a></li> +<li><a href="from_unixtime.html" target="content">from_unixtime</a></li> +<li><a href="from_utc_timestamp.html" target="content">from<em>utc</em>timestamp</a></li> +<li><a href="glm.html" target="content">glm</a></li> +<li><a href="greatest.html" target="content">greatest</a></li> +<li><a href="groupBy.html" target="content">groupBy</a></li> +<li><a href="hashCode.html" target="content">hashCode</a></li> +<li><a href="head.html" target="content">head</a></li> +<li><a href="hex.html" target="content">hex</a></li> +<li><a href="hour.html" target="content">hour</a></li> +<li><a href="hypot.html" target="content">hypot</a></li> +<li><a href="ifelse.html" target="content">ifelse</a></li> +<li><a href="infer_type.html" target="content">infer_type</a></li> +<li><a href="initcap.html" target="content">initcap</a></li> +<li><a href="insertInto.html" target="content">insertInto</a></li> +<li><a href="instr.html" target="content">instr</a></li> +<li><a href="intersect.html" target="content">intersect</a></li> +<li><a href="isLocal.html" target="content">isLocal</a></li> +<li><a href="isNaN.html" target="content">isNaN</a></li> +<li><a href="join.html" target="content">join</a></li> +<li><a href="jsonFile.html" target="content">jsonFile</a></li> +<li><a href="last.html" target="content">last</a></li> +<li><a href="last_day.html" target="content">last_day</a></li> +<li><a href="least.html" target="content">least</a></li> +<li><a href="length.html" target="content">length</a></li> +<li><a href="levenshtein.html" target="content">levenshtein</a></li> +<li><a href="limit.html" target="content">limit</a></li> +<li><a href="lit.html" target="content">lit</a></li> +<li><a href="locate.html" target="content">locate</a></li> +<li><a href="log.html" target="content">log</a></li> +<li><a href="log10.html" target="content">log10</a></li> +<li><a href="log1p.html" target="content">log1p</a></li> +<li><a href="log2.html" target="content">log2</a></li> +<li><a href="lower.html" target="content">lower</a></li> +<li><a href="lpad.html" target="content">lpad</a></li> +<li><a href="ltrim.html" target="content">ltrim</a></li> +<li><a href="match.html" target="content">match</a></li> +<li><a href="max.html" target="content">max</a></li> +<li><a href="md5.html" target="content">md5</a></li> +<li><a href="mean.html" target="content">mean</a></li> +<li><a href="merge.html" target="content">merge</a></li> +<li><a href="min.html" target="content">min</a></li> +<li><a href="minute.html" target="content">minute</a></li> +<li><a href="month.html" target="content">month</a></li> +<li><a href="months_between.html" target="content">months_between</a></li> +<li><a href="nafunctions.html" target="content">nafunctions</a></li> +<li><a href="nanvl.html" target="content">nanvl</a></li> +<li><a href="ncol.html" target="content">ncol</a></li> +<li><a href="negate.html" target="content">negate</a></li> +<li><a href="next_day.html" target="content">next_day</a></li> +<li><a href="nrow.html" target="content">nrow</a></li> +<li><a href="otherwise.html" target="content">otherwise</a></li> +<li><a href="parquetFile.html" target="content">parquetFile</a></li> +<li><a href="persist.html" target="content">persist</a></li> +<li><a href="pmod.html" target="content">pmod</a></li> +<li><a href="predict.html" target="content">predict</a></li> +<li><a href="print.jobj.html" target="content">print.jobj</a></li> +<li><a href="print.structField.html" target="content">print.structField</a></li> +<li><a href="print.structType.html" target="content">print.structType</a></li> +<li><a href="printSchema.html" target="content">printSchema</a></li> +<li><a href="quarter.html" target="content">quarter</a></li> +<li><a href="rand.html" target="content">rand</a></li> +<li><a href="randn.html" target="content">randn</a></li> +<li><a href="rbind.html" target="content">rbind</a></li> +<li><a href="read.df.html" target="content">read.df</a></li> +<li><a href="regexp_extract.html" target="content">regexp_extract</a></li> +<li><a href="regexp_replace.html" target="content">regexp_replace</a></li> +<li><a href="registerTempTable.html" target="content">registerTempTable</a></li> +<li><a href="repartition.html" target="content">repartition</a></li> +<li><a href="reverse.html" target="content">reverse</a></li> +<li><a href="rint.html" target="content">rint</a></li> +<li><a href="round.html" target="content">round</a></li> +<li><a href="rpad.html" target="content">rpad</a></li> +<li><a href="rtrim.html" target="content">rtrim</a></li> +<li><a href="sample.html" target="content">sample</a></li> +<li><a href="saveAsParquetFile.html" target="content">saveAsParquetFile</a></li> +<li><a href="saveAsTable.html" target="content">saveAsTable</a></li> +<li><a href="schema.html" target="content">schema</a></li> +<li><a href="second.html" target="content">second</a></li> +<li><a href="select.html" target="content">select</a></li> +<li><a href="selectExpr.html" target="content">selectExpr</a></li> +<li><a href="setJobGroup.html" target="content">setJobGroup</a></li> +<li><a href="sha1.html" target="content">sha1</a></li> +<li><a href="sha2.html" target="content">sha2</a></li> +<li><a href="shiftLeft.html" target="content">shiftLeft</a></li> +<li><a href="shiftRight.html" target="content">shiftRight</a></li> +<li><a href="shiftRightUnsigned.html" target="content">shiftRightUnsigned</a></li> +<li><a href="show.html" target="content">show</a></li> +<li><a href="showDF.html" target="content">showDF</a></li> +<li><a href="signum.html" target="content">signum</a></li> +<li><a href="sin.html" target="content">sin</a></li> +<li><a href="sinh.html" target="content">sinh</a></li> +<li><a href="size.html" target="content">size</a></li> +<li><a href="soundex.html" target="content">soundex</a></li> +<li><a href="sparkR.init.html" target="content">sparkR.init</a></li> +<li><a href="sparkR.stop.html" target="content">sparkR.stop</a></li> +<li><a href="sparkRHive.init.html" target="content">sparkRHive.init</a></li> +<li><a href="sparkRSQL.init.html" target="content">sparkRSQL.init</a></li> +<li><a href="sql.html" target="content">sql</a></li> +<li><a href="sqrt.html" target="content">sqrt</a></li> +<li><a href="statfunctions.html" target="content">statfunctions</a></li> +<li><a href="structField.html" target="content">structField</a></li> +<li><a href="structType.html" target="content">structType</a></li> +<li><a href="subset.html" target="content">subset</a></li> +<li><a href="substr.html" target="content">substr</a></li> +<li><a href="substring_index.html" target="content">substring_index</a></li> +<li><a href="sum.html" target="content">sum</a></li> +<li><a href="sumDistinct.html" target="content">sumDistinct</a></li> +<li><a href="summary.html" target="content">summary</a></li> +<li><a href="table.html" target="content">table</a></li> +<li><a href="tableNames.html" target="content">tableNames</a></li> +<li><a href="tables.html" target="content">tables</a></li> +<li><a href="take.html" target="content">take</a></li> +<li><a href="tan.html" target="content">tan</a></li> +<li><a href="tanh.html" target="content">tanh</a></li> +<li><a href="toDegrees.html" target="content">toDegrees</a></li> +<li><a href="toRadians.html" target="content">toRadians</a></li> +<li><a href="to_date.html" target="content">to_date</a></li> +<li><a href="to_utc_timestamp.html" target="content">to<em>utc</em>timestamp</a></li> +<li><a href="translate.html" target="content">translate</a></li> +<li><a href="trim.html" target="content">trim</a></li> +<li><a href="unbase64.html" target="content">unbase64</a></li> +<li><a href="uncacheTable.html" target="content">uncacheTable</a></li> +<li><a href="unhex.html" target="content">unhex</a></li> +<li><a href="unionAll.html" target="content">unionAll</a></li> +<li><a href="unique.html" target="content">unique</a></li> +<li><a href="unix_timestamp.html" target="content">unix_timestamp</a></li> +<li><a href="unpersist-methods.html" target="content">unpersist-methods</a></li> +<li><a href="upper.html" target="content">upper</a></li> +<li><a href="weekofyear.html" target="content">weekofyear</a></li> +<li><a href="when.html" target="content">when</a></li> +<li><a href="withColumn.html" target="content">withColumn</a></li> +<li><a href="withColumnRenamed.html" target="content">withColumnRenamed</a></li> +<li><a href="write.df.html" target="content">write.df</a></li> +<li><a href="year.html" target="content">year</a></li> +</ul> + +<p>Generated with <a href="http://yihui.name/knitr">knitr</a> 1.11</p> + +</body> + +</html> diff --git a/site/docs/1.5.0/api/R/DataFrame.html b/site/docs/1.5.0/api/R/DataFrame.html new file mode 100644 index 000000000..f8835e88b --- /dev/null +++ b/site/docs/1.5.0/api/R/DataFrame.html @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S4 class that represents a DataFrame</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 DataFrame-class {SparkR}"><tr><td>DataFrame-class {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>S4 class that represents a DataFrame</h2> + +<h3>Description</h3> + +<p>DataFrames can be created using functions like +<code>jsonFile</code>, <code>table</code> etc. +</p> + + +<h3>Usage</h3> + +<pre> +dataFrame(sdf, isCached = FALSE) + +toRDD(x) + +groupedData(sgd) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sdf</code></td> +<td> +<p>A Java object reference to the backing Scala DataFrame</p> +</td></tr> +<tr valign="top"><td><code>isCached</code></td> +<td> +<p>TRUE if the dataFrame is cached</p> +</td></tr> +</table> + + +<h3>Slots</h3> + + +<dl> +<dt><code>env</code></dt><dd><p>An R environment that stores bookkeeping states of the DataFrame</p> +</dd> +<dt><code>sdf</code></dt><dd><p>A Java object reference to the backing Scala DataFrame</p> +</dd> +</dl> + + +<h3>See Also</h3> + +<p>jsonFile, table +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/GroupedData.html b/site/docs/1.5.0/api/R/GroupedData.html new file mode 100644 index 000000000..da6587335 --- /dev/null +++ b/site/docs/1.5.0/api/R/GroupedData.html @@ -0,0 +1,32 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S4 class that represents a GroupedData</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 GroupedData-class {SparkR}"><tr><td>GroupedData-class {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>S4 class that represents a GroupedData</h2> + +<h3>Description</h3> + +<p>GroupedDatas can be created using groupBy() on a DataFrame +</p> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sgd</code></td> +<td> +<p>A Java object reference to the backing Scala GroupedData</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>groupBy +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/PipelineModel-class.html b/site/docs/1.5.0/api/R/PipelineModel-class.html new file mode 100644 index 000000000..2c3bd8e0d --- /dev/null +++ b/site/docs/1.5.0/api/R/PipelineModel-class.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S4 class that represents a PipelineModel</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 PipelineModel-class {SparkR}"><tr><td>PipelineModel-class {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>S4 class that represents a PipelineModel</h2> + +<h3>Description</h3> + +<p>S4 class that represents a PipelineModel +</p> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>model</code></td> +<td> +<p>A Java object reference to the backing Scala PipelineModel</p> +</td></tr> +</table> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/R.css b/site/docs/1.5.0/api/R/R.css new file mode 100644 index 000000000..212cf4c43 --- /dev/null +++ b/site/docs/1.5.0/api/R/R.css @@ -0,0 +1,55 @@ +* { + font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif; + font-size: 14px; +} +body { + padding: 0 5px; + margin: 0 auto; + width: 80%; + max-width: 60em; /* 960px */ +} + +h1, h2, h3, h4, h5, h6 { + color: #666; +} +h1, h2 { + text-align: center; +} +h1 { + font-size: x-large; +} +h2, h3 { + font-size: large; +} +h4, h6 { + font-style: italic; +} +h3 { + border-left: solid 5px #ddd; + padding-left: 5px; + font-variant: small-caps; +} + +p img { + display: block; + margin: auto; +} + +span, code, pre { + font-family: Monaco, "Lucida Console", "Courier New", Courier, monospace; +} +span.acronym {} +span.env { + font-style: italic; +} +span.file {} +span.option {} +span.pkg { + font-weight: bold; +} +span.samp{} + +dt, p code { + background-color: #F7F7F7; +} + diff --git a/site/docs/1.5.0/api/R/abs.html b/site/docs/1.5.0/api/R/abs.html new file mode 100644 index 000000000..e701593e2 --- /dev/null +++ b/site/docs/1.5.0/api/R/abs.html @@ -0,0 +1,54 @@ +<!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: abs</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 abs {SparkR}"><tr><td>abs {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>abs</h2> + +<h3>Description</h3> + +<p>Computes the absolute value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +abs(x) +</pre> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <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="isNaN.html">isNaN</a></code>, <code><a href="isNaN.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="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: abs(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/acos.html b/site/docs/1.5.0/api/R/acos.html new file mode 100644 index 000000000..0e84aadb9 --- /dev/null +++ b/site/docs/1.5.0/api/R/acos.html @@ -0,0 +1,68 @@ +<!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: acos</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 acos {SparkR}"><tr><td>acos {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>acos</h2> + +<h3>Description</h3> + +<p>Computes the cosine inverse of the given value; the returned angle is in the range +0.0 through pi. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +acos(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <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">ceil</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">signum</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: acos(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/add_months.html b/site/docs/1.5.0/api/R/add_months.html new file mode 100644 index 000000000..a937af084 --- /dev/null +++ b/site/docs/1.5.0/api/R/add_months.html @@ -0,0 +1,57 @@ +<!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: add_months</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 add_months {SparkR}"><tr><td>add_months {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>add_months</h2> + +<h3>Description</h3> + +<p>Returns the date that is numMonths after startDate. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +add_months(y, x) + +add_months(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/agg.html b/site/docs/1.5.0/api/R/agg.html new file mode 100644 index 000000000..caa8c2630 --- /dev/null +++ b/site/docs/1.5.0/api/R/agg.html @@ -0,0 +1,97 @@ +<!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: Summarize data across columns</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for agg {SparkR}"><tr><td>agg {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Summarize data across columns</h2> + +<h3>Description</h3> + +<p>Compute aggregates by specifying a list of columns +</p> +<p>Count the number of rows for each group. +The resulting DataFrame will also contain the grouping columns. +</p> +<p>Aggregates on the entire DataFrame without groups. +The resulting DataFrame will also contain the grouping columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +agg(x, ...) + +## S4 method for signature 'DataFrame' +summarize(x, ...) + +agg(x, ...) + +summarize(x, ...) + +## S4 method for signature 'GroupedData' +count(x) + +## S4 method for signature 'GroupedData' +agg(x, ...) + +## S4 method for signature 'GroupedData' +summarize(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a DataFrame</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a GroupedData</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a GroupedData</p> +</td></tr> +</table> + + +<h3>Details</h3> + +<p>df2 <- agg(df, <column> = <aggFunction>) +df2 <- agg(df, newColName = aggFunction(column)) +</p> + + +<h3>Value</h3> + +<p>a DataFrame +</p> +<p>a DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D count(groupBy(df, "name")) +## End(Not run) +## Not run: +##D df2 <- agg(df, age = "sum") # new column name will be created as 'SUM(age#0)' +##D df2 <- agg(df, ageSum = sum(df$age)) # Creates a new column named ageSum +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/alias.html b/site/docs/1.5.0/api/R/alias.html new file mode 100644 index 000000000..fd2b7a833 --- /dev/null +++ b/site/docs/1.5.0/api/R/alias.html @@ -0,0 +1,32 @@ +<!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: alias</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 alias {SparkR}"><tr><td>alias {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>alias</h2> + +<h3>Description</h3> + +<p>Set a new name for a column +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +alias(object, data) +</pre> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="column.html">between</a></code>; +<code><a href="column.html">cast</a></code>; <code><a href="otherwise.html">otherwise</a></code>; +<code><a href="substr.html">substr</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/approxCountDistinct.html b/site/docs/1.5.0/api/R/approxCountDistinct.html new file mode 100644 index 000000000..c5708cda5 --- /dev/null +++ b/site/docs/1.5.0/api/R/approxCountDistinct.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: approxCountDistinct</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 approxCountDistinct {SparkR}"><tr><td>approxCountDistinct {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>approxCountDistinct</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the approximate number of distinct items in a group. +</p> +<p>Approx Count Distinct +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +approxCountDistinct(x, rsd = 0.95) + +## S4 method for signature 'Column' +approxCountDistinct(x, rsd = 0.95) + +approxCountDistinct(x, ...) +</pre> + + +<h3>Value</h3> + +<p>the approximate number of distinct items in a group. +</p> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> +<p>Other agg_funcs: <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">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: approxCountDistinct(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/arrange.html b/site/docs/1.5.0/api/R/arrange.html new file mode 100644 index 000000000..bc1dd2e47 --- /dev/null +++ b/site/docs/1.5.0/api/R/arrange.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Arrange</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 arrange {SparkR}"><tr><td>arrange {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Arrange</h2> + +<h3>Description</h3> + +<p>Sort a DataFrame by the specified column(s). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,characterOrColumn' +arrange(x, col, ...) + +## S4 method for signature 'DataFrame,characterOrColumn' +orderBy(x, col) + +arrange(x, col, ...) + +orderBy(x, col) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame to be sorted.</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>Either a Column object or character vector indicating the field to sort on</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Additional sorting fields</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame where all elements are sorted. +</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 <- jsonFile(sqlContext, path) +##D arrange(df, df$col1) +##D arrange(df, "col1") +##D arrange(df, asc(df$col1), desc(abs(df$col2))) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/ascii.html b/site/docs/1.5.0/api/R/ascii.html new file mode 100644 index 000000000..314acf7e9 --- /dev/null +++ b/site/docs/1.5.0/api/R/ascii.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: ascii</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for ascii {SparkR}"><tr><td>ascii {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>ascii</h2> + +<h3>Description</h3> + +<p>Computes the numeric value of the first character of the string column, and returns the +result as a int column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +ascii(x) + +ascii(x) +</pre> + + +<h3>See Also</h3> + +<p>Other string_funcs: <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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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: \dontrun{ascii(df$c)} +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/asin.html b/site/docs/1.5.0/api/R/asin.html new file mode 100644 index 000000000..e072cf8a4 --- /dev/null +++ b/site/docs/1.5.0/api/R/asin.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: asin</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for asin {SparkR}"><tr><td>asin {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>asin</h2> + +<h3>Description</h3> + +<p>Computes the sine inverse of the given value; the returned angle is in the range +-pi/2 through pi/2. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +asin(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="atan2.html">atan2</a></code>; +<code><a href="atan.html">atan</a></code>; <code><a href="bin.html">bin</a></code>, <code><a href="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">ceil</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">signum</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: asin(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/atan.html b/site/docs/1.5.0/api/R/atan.html new file mode 100644 index 000000000..ce963b9cd --- /dev/null +++ b/site/docs/1.5.0/api/R/atan.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: atan</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for atan {SparkR}"><tr><td>atan {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>atan</h2> + +<h3>Description</h3> + +<p>Computes the tangent inverse of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +atan(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan2.html">atan2</a></code>; <code><a href="bin.html">bin</a></code>, +<code><a href="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">ceil</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">signum</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: atan(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/atan2.html b/site/docs/1.5.0/api/R/atan2.html new file mode 100644 index 000000000..3dba27491 --- /dev/null +++ b/site/docs/1.5.0/api/R/atan2.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: atan2</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for atan2 {SparkR}"><tr><td>atan2 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>atan2</h2> + +<h3>Description</h3> + +<p>Returns the angle theta from the conversion of rectangular coordinates (x, y) to +polar coordinates (r, theta). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +atan2(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan.html">atan</a></code>; <code><a href="bin.html">bin</a></code>, <code><a href="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">ceil</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">signum</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: atan2(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/avg.html b/site/docs/1.5.0/api/R/avg.html new file mode 100644 index 000000000..34f6aeaf3 --- /dev/null +++ b/site/docs/1.5.0/api/R/avg.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: avg</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for avg {SparkR}"><tr><td>avg {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>avg</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the average of the values in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +avg(x) + +avg(x, ...) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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="countDistinct.html">countDistinct</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="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: avg(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/base64.html b/site/docs/1.5.0/api/R/base64.html new file mode 100644 index 000000000..925a339a2 --- /dev/null +++ b/site/docs/1.5.0/api/R/base64.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: base64</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for base64 {SparkR}"><tr><td>base64 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>base64</h2> + +<h3>Description</h3> + +<p>Computes the BASE64 encoding of a binary column and returns it as a string column. +This is the reverse of unbase64. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +base64(x) + +base64(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="concat_ws.html">concat_ws</a></code>, +<code><a href="concat_ws.html">concat_ws</a></code>; <code><a href="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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: base64(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/between.html b/site/docs/1.5.0/api/R/between.html new file mode 100644 index 000000000..cdde8505d --- /dev/null +++ b/site/docs/1.5.0/api/R/between.html @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: between</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for between {SparkR}"><tr><td>between {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>between</h2> + +<h3>Description</h3> + +<p>Test if the column is between the lower bound and upper bound, inclusive. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +between(x, bounds) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>bounds</code></td> +<td> +<p>lower and upper bounds</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="alias.html">alias</a></code>; <code><a href="column.html">cast</a></code>; +<code><a href="otherwise.html">otherwise</a></code>; <code><a href="substr.html">substr</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/bin.html b/site/docs/1.5.0/api/R/bin.html new file mode 100644 index 000000000..a692ca9a1 --- /dev/null +++ b/site/docs/1.5.0/api/R/bin.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: bin</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for bin {SparkR}"><tr><td>bin {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>bin</h2> + +<h3>Description</h3> + +<p>An expression that returns the string representation of the binary value of the given long +column. For example, bin("12") returns "1100". +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +bin(x) + +bin(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="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">ceil</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">signum</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: bin(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/bitwiseNOT.html b/site/docs/1.5.0/api/R/bitwiseNOT.html new file mode 100644 index 000000000..a02b6bb30 --- /dev/null +++ b/site/docs/1.5.0/api/R/bitwiseNOT.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: bitwiseNOT</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for bitwiseNOT {SparkR}"><tr><td>bitwiseNOT {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>bitwiseNOT</h2> + +<h3>Description</h3> + +<p>Computes bitwise NOT. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +bitwiseNOT(x) + +bitwiseNOT(x) +</pre> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <code><a href="abs.html">abs</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="isNaN.html">isNaN</a></code>, <code><a href="isNaN.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="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: bitwiseNOT(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cache-methods.html b/site/docs/1.5.0/api/R/cache-methods.html new file mode 100644 index 000000000..577ebf981 --- /dev/null +++ b/site/docs/1.5.0/api/R/cache-methods.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cache,DataFrame-method {SparkR}"><tr><td>cache,DataFrame-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cache</h2> + +<h3>Description</h3> + +<p>Persist with the default storage level (MEMORY_ONLY). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +cache(x) +</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>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 <- jsonFile(sqlContext, path) +##D cache(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cache.html b/site/docs/1.5.0/api/R/cache.html new file mode 100644 index 000000000..6a392c3bd --- /dev/null +++ b/site/docs/1.5.0/api/R/cache.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cache {SparkR}"><tr><td>cache {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cache</h2> + +<h3>Description</h3> + +<p>Persist with the default storage level (MEMORY_ONLY). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +cache(x) +</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>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 <- jsonFile(sqlContext, path) +##D cache(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cacheTable.html b/site/docs/1.5.0/api/R/cacheTable.html new file mode 100644 index 000000000..661bf7afb --- /dev/null +++ b/site/docs/1.5.0/api/R/cacheTable.html @@ -0,0 +1,62 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cache Table</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cacheTable {SparkR}"><tr><td>cacheTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cache Table</h2> + +<h3>Description</h3> + +<p>Caches the specified table in-memory. +</p> + + +<h3>Usage</h3> + +<pre> +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 <- jsonFile(sqlContext, path) +##D registerTempTable(df, "table") +##D cacheTable(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cancelJobGroup.html b/site/docs/1.5.0/api/R/cancelJobGroup.html new file mode 100644 index 000000000..bba3e5bf6 --- /dev/null +++ b/site/docs/1.5.0/api/R/cancelJobGroup.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Cancel active jobs for the specified group</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cancelJobGroup {SparkR}"><tr><td>cancelJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Cancel active jobs for the specified group</h2> + +<h3>Description</h3> + +<p>Cancel active jobs for the specified group +</p> + + +<h3>Usage</h3> + +<pre> +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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cast.html b/site/docs/1.5.0/api/R/cast.html new file mode 100644 index 000000000..d14aef3ab --- /dev/null +++ b/site/docs/1.5.0/api/R/cast.html @@ -0,0 +1,47 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Casts the column to a different data type.</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cast {SparkR}"><tr><td>cast {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Casts the column to a different data type.</h2> + +<h3>Description</h3> + +<p>Casts the column to a different data type. +</p> + + +<h3>Usage</h3> + +<pre> +## 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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cbrt.html b/site/docs/1.5.0/api/R/cbrt.html new file mode 100644 index 000000000..f47d1375c --- /dev/null +++ b/site/docs/1.5.0/api/R/cbrt.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: cbrt</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cbrt {SparkR}"><tr><td>cbrt {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>cbrt</h2> + +<h3>Description</h3> + +<p>Computes the cube-root of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## 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">ceil</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">signum</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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/ceil.html b/site/docs/1.5.0/api/R/ceil.html new file mode 100644 index 000000000..5d0c39a6a --- /dev/null +++ b/site/docs/1.5.0/api/R/ceil.html @@ -0,0 +1,99 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: 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 style="text-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="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">signum</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> +<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="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">signum</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) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/clearCache.html b/site/docs/1.5.0/api/R/clearCache.html new file mode 100644 index 000000000..47ad95002 --- /dev/null +++ b/site/docs/1.5.0/api/R/clearCache.html @@ -0,0 +1,47 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Clear Cache</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearCache {SparkR}"><tr><td>clearCache {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Clear Cache</h2> + +<h3>Description</h3> + +<p>Removes all cached tables from the in-memory cache. +</p> + + +<h3>Usage</h3> + +<pre> +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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/clearJobGroup.html b/site/docs/1.5.0/api/R/clearJobGroup.html new file mode 100644 index 000000000..3e5a4e7f1 --- /dev/null +++ b/site/docs/1.5.0/api/R/clearJobGroup.html @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Clear current job group ID and its description</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for clearJobGroup {SparkR}"><tr><td>clearJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Clear current job group ID and its description</h2> + +<h3>Description</h3> + +<p>Clear current job group ID and its description +</p> + + +<h3>Usage</h3> + +<pre> +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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/collect-methods.html b/site/docs/1.5.0/api/R/collect-methods.html new file mode 100644 index 000000000..e74366ad4 --- /dev/null +++ b/site/docs/1.5.0/api/R/collect-methods.html @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Collects all the elements of a 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,DataFrame-method {SparkR}"><tr><td>collect,DataFrame-method {SparkR}</td><td style="text-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>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 <- jsonFile(sqlContext, path) +##D collected <- collect(df) +##D firstName <- collected[[1]]$name +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/collect.html b/site/docs/1.5.0/api/R/collect.html new file mode 100644 index 000000000..bc40c947b --- /dev/null +++ b/site/docs/1.5.0/api/R/collect.html @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Collects all the elements of a 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 style="text-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>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 <- jsonFile(sqlContext, path) +##D collected <- collect(df) +##D firstName <- collected[[1]]$name +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/column.html b/site/docs/1.5.0/api/R/column.html new file mode 100644 index 000000000..f6094a0a3 --- /dev/null +++ b/site/docs/1.5.0/api/R/column.html @@ -0,0 +1,60 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S4 class that represents a 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 style="text-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, ...) + +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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/columns.html b/site/docs/1.5.0/api/R/columns.html new file mode 100644 index 000000000..bd9987696 --- /dev/null +++ b/site/docs/1.5.0/api/R/columns.html @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Column names</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 style="text-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 +</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>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 <- jsonFile(sqlContext, path) +##D columns(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/concat.html b/site/docs/1.5.0/api/R/concat.html new file mode 100644 index 000000000..8ae3d1452 --- /dev/null +++ b/site/docs/1.5.0/api/R/concat.html @@ -0,0 +1,57 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: concat</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for concat {SparkR}"><tr><td>concat {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>concat</h2> + +<h3>Description</h3> + +<p>Concatenates multiple input string columns together into a single string column. +</p> + + +<h3>Usage</h3> + +<pre> +## 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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/concat_ws.html b/site/docs/1.5.0/api/R/concat_ws.html new file mode 100644 index 000000000..c6affa6cd --- /dev/null +++ b/site/docs/1.5.0/api/R/concat_ws.html @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: concat_ws</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for concat_ws {SparkR}"><tr><td>concat_ws {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>concat_ws</h2> + +<h3>Description</h3> + +<p>Concatenates multiple input string columns together into a single string column, +using the given separator. +</p> + + +<h3>Usage</h3> + +<pre> +## 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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/conv.html b/site/docs/1.5.0/api/R/conv.html new file mode 100644 index 000000000..a6bada4fc --- /dev/null +++ b/site/docs/1.5.0/api/R/conv.html @@ -0,0 +1,57 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: conv</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for conv {SparkR}"><tr><td>conv {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>conv</h2> + +<h3>Description</h3> + +<p>Convert a number in a string column from one base to another. +</p> + + +<h3>Usage</h3> + +<pre> +## 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">ceil</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">signum</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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cos.html b/site/docs/1.5.0/api/R/cos.html new file mode 100644 index 000000000..0badffb02 --- /dev/null +++ b/site/docs/1.5.0/api/R/cos.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: cos</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cos {SparkR}"><tr><td>cos {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>cos</h2> + +<h3>Description</h3> + +<p>Computes the cosine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +cos(x) +</pre> + + +<h3>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">ceil</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="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">signum</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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/cosh.html b/site/docs/1.5.0/api/R/cosh.html new file mode 100644 index 000000000..218c9aba2 --- /dev/null +++ b/site/docs/1.5.0/api/R/cosh.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: cosh</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for cosh {SparkR}"><tr><td>cosh {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>cosh</h2> + +<h3>Description</h3> + +<p>Computes the hyperbolic cosine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +cosh(x) +</pre> + + +<h3>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">ceil</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</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">signum</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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/count.html b/site/docs/1.5.0/api/R/count.html new file mode 100644 index 000000000..c40b5c6b4 --- /dev/null +++ b/site/docs/1.5.0/api/R/count.html @@ -0,0 +1,93 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Count</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for count {SparkR}"><tr><td>count {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Count</h2> + +<h3>Description</h3> + +<p>Returns the number of rows in a DataFrame +</p> +<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 'DataFrame' +count(x) + +## S4 method for signature 'Column' +count(x) + +## S4 method for signature 'Column' +n(x) + +n(x) +</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 agg_funcs: <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">countDistinct</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="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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> +<p>Other agg_funcs: <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">countDistinct</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="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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</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 <- jsonFile(sqlContext, path) +##D count(df) +## End(Not run) +## Not run: count(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/countDistinct.html b/site/docs/1.5.0/api/R/countDistinct.html new file mode 100644 index 000000000..cfa6dbc51 --- /dev/null +++ b/site/docs/1.5.0/api/R/countDistinct.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Count Distinct</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 countDistinct {SparkR}"><tr><td>countDistinct {SparkR}</td><td style="text-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="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="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> +<p>Other agg_funcs: <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="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/crc32.html b/site/docs/1.5.0/api/R/crc32.html new file mode 100644 index 000000000..4add4cab0 --- /dev/null +++ b/site/docs/1.5.0/api/R/crc32.html @@ -0,0 +1,47 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: crc32</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for crc32 {SparkR}"><tr><td>crc32 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>crc32</h2> + +<h3>Description</h3> + +<p>Calculates the cyclic redundancy check value (CRC32) of a binary column and +returns the value as a bigint. +</p> + + +<h3>Usage</h3> + +<pre> +## 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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/createDataFrame.html b/site/docs/1.5.0/api/R/createDataFrame.html new file mode 100644 index 000000000..7570b0c0b --- /dev/null +++ b/site/docs/1.5.0/api/R/createDataFrame.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 DataFrame from an RDD</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for createDataFrame {SparkR}"><tr><td>createDataFrame {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Create a DataFrame from an RDD</h2> + +<h3>Description</h3> + +<p>Converts an RDD to a DataFrame by infer the types. +</p> + + +<h3>Usage</h3> + +<pre> +createDataFrame(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 rdd <- lapply(parallelize(sc, 1:10), function(x) list(a=x, b=as.character(x))) +##D df <- createDataFrame(sqlContext, rdd) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/createExternalTable.html b/site/docs/1.5.0/api/R/createExternalTable.html new file mode 100644 index 000000000..42218f442 --- /dev/null +++ b/site/docs/1.5.0/api/R/createExternalTable.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: Create an external table</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for createExternalTable {SparkR}"><tr><td>createExternalTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Create an external table</h2> + +<h3>Description</h3> + +<p>Creates an external table based on the dataset in a data source, +Returns 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 style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/date_add.html b/site/docs/1.5.0/api/R/date_add.html new file mode 100644 index 000000000..da4e5b7ad --- /dev/null +++ b/site/docs/1.5.0/api/R/date_add.html @@ -0,0 +1,57 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: date_add</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> +</head><body> + +<table width="100%" summary="page for date_add {SparkR}"><tr><td>date_add {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>date_add</h2> + +<h3>Description</h3> + +<p>Returns the date that is 'days' days after 'start' +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +date_add(y, x) + +date_add(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_format.html">date_format</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="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/date_format.html b/site/docs/1.5.0/api/R/date_format.html new file mode 100644 index 000000000..6d346373a --- /dev/null +++ b/site/docs/1.5.0/api/R/date_format.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: date_format</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 date_format {SparkR}"><tr><td>date_format {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>date_format</h2> + +<h3>Description</h3> + +<p>Converts a date/timestamp/string to a value of string in the format specified by the date +format given by the second argument. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character' +date_format(y, x) + +date_format(y, x) +</pre> + + +<h3>Details</h3> + +<p>A pattern could be for instance </p> +<pre>dd.MM.yyyy</pre><p> and could return a string like '18.03.1993'. All +pattern letters of <code>java.text.SimpleDateFormat</code> can be used. +</p> +<p>NOTE: Use when ever possible specialized functions like <code>year</code>. These benefit from a +specialized implementation. +</p> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</a></code>, +<code><a href="date_add.html">date_add</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/date_sub.html b/site/docs/1.5.0/api/R/date_sub.html new file mode 100644 index 000000000..edacc626f --- /dev/null +++ b/site/docs/1.5.0/api/R/date_sub.html @@ -0,0 +1,57 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: date_sub</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 date_sub {SparkR}"><tr><td>date_sub {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>date_sub</h2> + +<h3>Description</h3> + +<p>Returns the date that is 'days' days before 'start' +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +date_sub(y, x) + +date_sub(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/datediff.html b/site/docs/1.5.0/api/R/datediff.html new file mode 100644 index 000000000..9fd2617cd --- /dev/null +++ b/site/docs/1.5.0/api/R/datediff.html @@ -0,0 +1,69 @@ +<!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: datediff</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 datediff {SparkR}"><tr><td>datediff {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>datediff</h2> + +<h3>Description</h3> + +<p>Returns the number of days from 'start' to 'end'. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +datediff(y, x) + +datediff(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: datediff(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/dayofmonth.html b/site/docs/1.5.0/api/R/dayofmonth.html new file mode 100644 index 000000000..468056303 --- /dev/null +++ b/site/docs/1.5.0/api/R/dayofmonth.html @@ -0,0 +1,69 @@ +<!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: dayofmonth</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 dayofmonth {SparkR}"><tr><td>dayofmonth {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>dayofmonth</h2> + +<h3>Description</h3> + +<p>Extracts the day of the month as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +dayofmonth(x) + +dayofmonth(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: dayofmonth(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/dayofyear.html b/site/docs/1.5.0/api/R/dayofyear.html new file mode 100644 index 000000000..9045fcd1e --- /dev/null +++ b/site/docs/1.5.0/api/R/dayofyear.html @@ -0,0 +1,69 @@ +<!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: dayofyear</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 dayofyear {SparkR}"><tr><td>dayofyear {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>dayofyear</h2> + +<h3>Description</h3> + +<p>Extracts the day of the year as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +dayofyear(x) + +dayofyear(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: dayofyear(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/describe.html b/site/docs/1.5.0/api/R/describe.html new file mode 100644 index 000000000..2d2aa9dc9 --- /dev/null +++ b/site/docs/1.5.0/api/R/describe.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: describe</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>describe</h2> + +<h3>Description</h3> + +<p>Computes statistics for numeric columns. +If no columns are given, this function computes statistics for all numerical columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +describe(x, col, ...) + +## S4 method for signature 'DataFrame,ANY' +describe(x) + +describe(x, col, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame 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> +</table> + + +<h3>Value</h3> + +<p>A 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 <- jsonFile(sqlContext, path) +##D describe(df) +##D describe(df, "col1") +##D describe(df, "col1", "col2") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/dim.html b/site/docs/1.5.0/api/R/dim.html new file mode 100644 index 000000000..5a54ef526 --- /dev/null +++ b/site/docs/1.5.0/api/R/dim.html @@ -0,0 +1,52 @@ +<!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: Returns the dimentions (number of rows and columns) of a...</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 dim {SparkR}"><tr><td>dim {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Returns the dimentions (number of rows and columns) of a DataFrame</h2> + +<h3>Description</h3> + +<p>Returns the dimentions (number of rows and columns) of a DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +dim(x) +</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>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 <- jsonFile(sqlContext, path) +##D dim(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/distinct.html b/site/docs/1.5.0/api/R/distinct.html new file mode 100644 index 000000000..14e1c4f5e --- /dev/null +++ b/site/docs/1.5.0/api/R/distinct.html @@ -0,0 +1,52 @@ +<!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: 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 distinct {SparkR}"><tr><td>distinct {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Distinct</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame containing the distinct rows in this DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +distinct(x) +</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>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 <- jsonFile(sqlContext, path) +##D distinctDF <- distinct(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/dropTempTable.html b/site/docs/1.5.0/api/R/dropTempTable.html new file mode 100644 index 000000000..33b294484 --- /dev/null +++ b/site/docs/1.5.0/api/R/dropTempTable.html @@ -0,0 +1,56 @@ +<!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: Drop Temporary 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 dropTempTable {SparkR}"><tr><td>dropTempTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Drop Temporary Table</h2> + +<h3>Description</h3> + +<p>Drops the temporary table with the given table name in the catalog. +If the table has been cached/persisted before, it's also unpersisted. +</p> + + +<h3>Usage</h3> + +<pre> +dropTempTable(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 SparkSQL table to be dropped.</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df <- read.df(sqlContext, path, "parquet") +##D registerTempTable(df, "table") +##D dropTempTable(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/dtypes.html b/site/docs/1.5.0/api/R/dtypes.html new file mode 100644 index 000000000..10deb0a50 --- /dev/null +++ b/site/docs/1.5.0/api/R/dtypes.html @@ -0,0 +1,52 @@ +<!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: DataTypes</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 dtypes {SparkR}"><tr><td>dtypes {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>DataTypes</h2> + +<h3>Description</h3> + +<p>Return all column names and their data types as a list +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +dtypes(x) +</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>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 <- jsonFile(sqlContext, path) +##D dtypes(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/except.html b/site/docs/1.5.0/api/R/except.html new file mode 100644 index 000000000..e51bdfa11 --- /dev/null +++ b/site/docs/1.5.0/api/R/except.html @@ -0,0 +1,65 @@ +<!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: except</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 except {SparkR}"><tr><td>except {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>except</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame containing rows in this DataFrame +but not in another DataFrame. This is equivalent to 'EXCEPT' in SQL. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +except(x, y) + +except(x, y) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +<tr valign="top"><td><code>y</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame containing the result of the except operation. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df1 <- jsonFile(sqlContext, path) +##D df2 <- jsonFile(sqlContext, path2) +##D exceptDF <- except(df, df2) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/exp.html b/site/docs/1.5.0/api/R/exp.html new file mode 100644 index 000000000..3aff2ae2e --- /dev/null +++ b/site/docs/1.5.0/api/R/exp.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: exp</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 exp {SparkR}"><tr><td>exp {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>exp</h2> + +<h3>Description</h3> + +<p>Computes the exponential of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +exp(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">ceil</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="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">signum</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: exp(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/explain.html b/site/docs/1.5.0/api/R/explain.html new file mode 100644 index 000000000..448bcf40b --- /dev/null +++ b/site/docs/1.5.0/api/R/explain.html @@ -0,0 +1,58 @@ +<!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: Explain</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 explain {SparkR}"><tr><td>explain {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Explain</h2> + +<h3>Description</h3> + +<p>Print the logical and physical Catalyst plans to the console for debugging. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +explain(x, extended = FALSE) + +explain(x, ...) +</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>extended</code></td> +<td> +<p>Logical. If extended is False, explain() only prints the physical plan.</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D explain(df, TRUE) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/explode.html b/site/docs/1.5.0/api/R/explode.html new file mode 100644 index 000000000..7f5de7e70 --- /dev/null +++ b/site/docs/1.5.0/api/R/explode.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: explode</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 explode {SparkR}"><tr><td>explode {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>explode</h2> + +<h3>Description</h3> + +<p>Creates a new row for each element in the given array or map column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +explode(x) + +explode(x) +</pre> + + +<h3>See Also</h3> + +<p>Other collection_funcs: <code><a href="size.html">size</a></code>, +<code><a href="size.html">size</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: explode(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/expm1.html b/site/docs/1.5.0/api/R/expm1.html new file mode 100644 index 000000000..15ce48c96 --- /dev/null +++ b/site/docs/1.5.0/api/R/expm1.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: expm1</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 expm1 {SparkR}"><tr><td>expm1 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>expm1</h2> + +<h3>Description</h3> + +<p>Computes the exponential of the given value minus one. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +expm1(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">ceil</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="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">signum</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: expm1(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/expr.html b/site/docs/1.5.0/api/R/expr.html new file mode 100644 index 000000000..0fe62a0c8 --- /dev/null +++ b/site/docs/1.5.0/api/R/expr.html @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: expr</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 expr {SparkR}"><tr><td>expr {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>expr</h2> + +<h3>Description</h3> + +<p>Parses the expression string into the column that it represents, similar to +DataFrame.selectExpr +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'character' +expr(x) + +expr(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="greatest.html">greatest</a></code>, <code><a href="greatest.html">greatest</a></code>; +<code><a href="ifelse.html">ifelse</a></code>; <code><a href="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/factorial.html b/site/docs/1.5.0/api/R/factorial.html new file mode 100644 index 000000000..1bc0adb0c --- /dev/null +++ b/site/docs/1.5.0/api/R/factorial.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: factorial</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 factorial {SparkR}"><tr><td>factorial {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>factorial</h2> + +<h3>Description</h3> + +<p>Computes the factorial of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +factorial(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">ceil</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="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">signum</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: factorial(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/filter.html b/site/docs/1.5.0/api/R/filter.html new file mode 100644 index 000000000..02ea369f8 --- /dev/null +++ b/site/docs/1.5.0/api/R/filter.html @@ -0,0 +1,84 @@ +<!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: Filter</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 filter {SparkR}"><tr><td>filter {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Filter</h2> + +<h3>Description</h3> + +<p>Filter the rows of a DataFrame according to a given condition. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,characterOrColumn' +filter(x, condition) + +## S4 method for signature 'DataFrame,characterOrColumn' +where(x, condition) + +filter(x, condition) + +where(x, condition) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame to be sorted.</p> +</td></tr> +<tr valign="top"><td><code>condition</code></td> +<td> +<p>The condition to filter on. This may either be a Column expression +or a string containing a SQL statement</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame containing only the rows that meet the condition. +</p> + + +<h3>See Also</h3> + +<p>Other subsetting 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="subset.html">[</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> +</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 <- jsonFile(sqlContext, path) +##D filter(df, "col1 > 0") +##D filter(df, df$col2 != "abcdefg") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/first.html b/site/docs/1.5.0/api/R/first.html new file mode 100644 index 000000000..0b89fa7ab --- /dev/null +++ b/site/docs/1.5.0/api/R/first.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Return the first row of 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 first {SparkR}"><tr><td>first {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Return the first row of a DataFrame</h2> + +<h3>Description</h3> + +<p>Return the first row of a DataFrame +</p> +<p>Aggregate function: returns the first value in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +first(x) + +## S4 method for signature 'Column' +first(x) +</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 agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</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 <- jsonFile(sqlContext, path) +##D first(df) +## End(Not run) +## Not run: first(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/floor.html b/site/docs/1.5.0/api/R/floor.html new file mode 100644 index 000000000..260526991 --- /dev/null +++ b/site/docs/1.5.0/api/R/floor.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: floor</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 floor {SparkR}"><tr><td>floor {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>floor</h2> + +<h3>Description</h3> + +<p>Computes the floor of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +floor(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">ceil</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="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">signum</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: floor(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/format_number.html b/site/docs/1.5.0/api/R/format_number.html new file mode 100644 index 000000000..79b34f322 --- /dev/null +++ b/site/docs/1.5.0/api/R/format_number.html @@ -0,0 +1,65 @@ +<!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: format_number</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 format_number {SparkR}"><tr><td>format_number {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>format_number</h2> + +<h3>Description</h3> + +<p>Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places, +and returns the result as a string column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +format_number(y, x) + +format_number(y, x) +</pre> + + +<h3>Details</h3> + +<p>If d is 0, the result has no decimal point or fractional part. +If d < 0, the result will be null.' +</p> + + +<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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/format_string.html b/site/docs/1.5.0/api/R/format_string.html new file mode 100644 index 000000000..481ad6b91 --- /dev/null +++ b/site/docs/1.5.0/api/R/format_string.html @@ -0,0 +1,57 @@ +<!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: format_string</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 format_string {SparkR}"><tr><td>format_string {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>format_string</h2> + +<h3>Description</h3> + +<p>Formats the arguments in printf-style and returns the result as a string column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'character,Column' +format_string(format, x, ...) + +format_string(format, 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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/from_unixtime.html b/site/docs/1.5.0/api/R/from_unixtime.html new file mode 100644 index 000000000..1ca11b805 --- /dev/null +++ b/site/docs/1.5.0/api/R/from_unixtime.html @@ -0,0 +1,59 @@ +<!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: from_unixtime</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 from_unixtime {SparkR}"><tr><td>from_unixtime {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>from_unixtime</h2> + +<h3>Description</h3> + +<p>Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string +representing the timestamp of that moment in the current system time zone in the given +format. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +from_unixtime(x, format = "yyyy-MM-dd HH:mm:ss") + +from_unixtime(x, ...) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; +<code><a href="from_utc_timestamp.html">from_utc_timestamp</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="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/from_utc_timestamp.html b/site/docs/1.5.0/api/R/from_utc_timestamp.html new file mode 100644 index 000000000..79ffb2376 --- /dev/null +++ b/site/docs/1.5.0/api/R/from_utc_timestamp.html @@ -0,0 +1,56 @@ +<!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: from_utc_timestamp</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 from_utc_timestamp {SparkR}"><tr><td>from_utc_timestamp {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>from_utc_timestamp</h2> + +<h3>Description</h3> + +<p>Assumes given timestamp is UTC and converts to given timezone. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character' +from_utc_timestamp(y, x) + +from_utc_timestamp(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</a></code>, +<code><a href="from_unixtime.html">from_unixtime</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/glm-formula-ANY-DataFrame-method.html b/site/docs/1.5.0/api/R/glm-formula-ANY-DataFrame-method.html new file mode 100644 index 000000000..ff0895c07 --- /dev/null +++ b/site/docs/1.5.0/api/R/glm-formula-ANY-DataFrame-method.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: Fits a generalized linear model, similarly to R's glm(). Also...</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 glm,formula,ANY,DataFrame-method {SparkR}"><tr><td>glm,formula,ANY,DataFrame-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Fits a generalized linear model, similarly to R's glm(). Also see the glmnet package.</h2> + +<h3>Description</h3> + +<p>Fits a generalized linear model, similarly to R's glm(). Also see the glmnet package. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'formula,ANY,DataFrame' +glm(formula, family = c("gaussian", + "binomial"), data, lambda = 0, alpha = 0) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>formula</code></td> +<td> +<p>A symbolic description of the model to be fitted. Currently only a few formula +operators are supported, including '~' and '+'.</p> +</td></tr> +<tr valign="top"><td><code>family</code></td> +<td> +<p>Error distribution. "gaussian" -> linear regression, "binomial" -> logistic reg.</p> +</td></tr> +<tr valign="top"><td><code>data</code></td> +<td> +<p>DataFrame for training</p> +</td></tr> +<tr valign="top"><td><code>lambda</code></td> +<td> +<p>Regularization parameter</p> +</td></tr> +<tr valign="top"><td><code>alpha</code></td> +<td> +<p>Elastic-net mixing parameter (see glmnet's documentation for details)</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a fitted MLlib model +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D data(iris) +##D df <- createDataFrame(sqlContext, iris) +##D model <- glm(Sepal_Length ~ Sepal_Width, df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.4.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/glm.html b/site/docs/1.5.0/api/R/glm.html new file mode 100644 index 000000000..345907d9b --- /dev/null +++ b/site/docs/1.5.0/api/R/glm.html @@ -0,0 +1,81 @@ +<!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: Fits a generalized linear model</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 glm {SparkR}"><tr><td>glm {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Fits a generalized linear model</h2> + +<h3>Description</h3> + +<p>Fits a generalized linear model, similarly to R's glm(). Also see the glmnet package. +</p> + + +<h3>Usage</h3> + +<pre> +glm(formula, family = gaussian, data, weights, subset, na.action, + start = NULL, etastart, mustart, offset, control = list(...), + model = TRUE, method = "glm.fit", x = FALSE, y = TRUE, + contrasts = NULL, ...) + +## S4 method for signature 'formula,ANY,DataFrame' +glm(formula, family = c("gaussian", + "binomial"), data, lambda = 0, alpha = 0) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>formula</code></td> +<td> +<p>A symbolic description of the model to be fitted. Currently only a few formula +operators are supported, including '~', '+', '-', and '.'.</p> +</td></tr> +<tr valign="top"><td><code>family</code></td> +<td> +<p>Error distribution. "gaussian" -> linear regression, "binomial" -> logistic reg.</p> +</td></tr> +<tr valign="top"><td><code>data</code></td> +<td> +<p>DataFrame for training</p> +</td></tr> +<tr valign="top"><td><code>lambda</code></td> +<td> +<p>Regularization parameter</p> +</td></tr> +<tr valign="top"><td><code>alpha</code></td> +<td> +<p>Elastic-net mixing parameter (see glmnet's documentation for details)</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a fitted MLlib model +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D data(iris) +##D df <- createDataFrame(sqlContext, iris) +##D model <- glm(Sepal_Length ~ Sepal_Width, df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/greatest.html b/site/docs/1.5.0/api/R/greatest.html new file mode 100644 index 000000000..e4088a464 --- /dev/null +++ b/site/docs/1.5.0/api/R/greatest.html @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: greatest</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 greatest {SparkR}"><tr><td>greatest {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>greatest</h2> + +<h3>Description</h3> + +<p>Returns the greatest value of the list of column names, skipping null values. +This function takes at least 2 parameters. It will return null if all parameters are null. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +greatest(x, ...) + +greatest(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="ifelse.html">ifelse</a></code>; <code><a href="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/groupBy.html b/site/docs/1.5.0/api/R/groupBy.html new file mode 100644 index 000000000..fb09e2b60 --- /dev/null +++ b/site/docs/1.5.0/api/R/groupBy.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: GroupBy</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 groupBy {SparkR}"><tr><td>groupBy {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>GroupBy</h2> + +<h3>Description</h3> + +<p>Groups the DataFrame using the specified columns, so we can run aggregation on them. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +groupBy(x, ...) + +## S4 method for signature 'DataFrame' +group_by(x, ...) + +group_by(x, ...) + +groupBy(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a GroupedData +</p> + + +<h3>See Also</h3> + +<p>GroupedData +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D # Compute the average for all numeric columns grouped by department. +##D avg(groupBy(df, "department")) +##D +##D # Compute the max age and average salary, grouped by department and gender. +##D agg(groupBy(df, "department", "gender"), salary="avg", "age" -> "max") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/hashCode.html b/site/docs/1.5.0/api/R/hashCode.html new file mode 100644 index 000000000..e8509a15e --- /dev/null +++ b/site/docs/1.5.0/api/R/hashCode.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: Compute the hashCode of an object</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 hashCode {SparkR}"><tr><td>hashCode {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Compute the hashCode of an object</h2> + +<h3>Description</h3> + +<p>Java-style function to compute the hashCode for the given object. Returns +an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +hashCode(key) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>key</code></td> +<td> +<p>the object to be hashed</p> +</td></tr> +</table> + + +<h3>Details</h3> + +<p>This only works for integer, numeric and character types right now. +</p> + + +<h3>Value</h3> + +<p>the hash code as an integer +</p> + + +<h3>Examples</h3> + +<pre><code class="r">hashCode(1L) # 1 +</code></pre> + +<pre><code>## Error in eval(expr, envir, enclos): could not find function "hashCode" +</code></pre> + +<pre><code class="r">hashCode(1.0) # 1072693248 +</code></pre> + +<pre><code>## Error in eval(expr, envir, enclos): could not find function "hashCode" +</code></pre> + +<pre><code class="r">hashCode("1") # 49 +</code></pre> + +<pre><code>## Error in eval(expr, envir, enclos): could not find function "hashCode" +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/head.html b/site/docs/1.5.0/api/R/head.html new file mode 100644 index 000000000..4a9fc4a67 --- /dev/null +++ b/site/docs/1.5.0/api/R/head.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: Head</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 head {SparkR}"><tr><td>head {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Head</h2> + +<h3>Description</h3> + +<p>Return the first NUM rows of a DataFrame as a data.frame. If NUM is NULL, +then head() returns the first 6 rows in keeping with the current data.frame +convention in R. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +head(x, num = 6L) +</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>num</code></td> +<td> +<p>The number of rows to return. Default is 6.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A data.frame +</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 <- jsonFile(sqlContext, path) +##D head(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/hex.html b/site/docs/1.5.0/api/R/hex.html new file mode 100644 index 000000000..1f5f862ba --- /dev/null +++ b/site/docs/1.5.0/api/R/hex.html @@ -0,0 +1,69 @@ +<!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: hex</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 hex {SparkR}"><tr><td>hex {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>hex</h2> + +<h3>Description</h3> + +<p>Computes hex value of the given column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +hex(x) + +hex(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">ceil</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="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">signum</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: hex(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/hour.html b/site/docs/1.5.0/api/R/hour.html new file mode 100644 index 000000000..018e977cc --- /dev/null +++ b/site/docs/1.5.0/api/R/hour.html @@ -0,0 +1,69 @@ +<!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: hour</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 hour {SparkR}"><tr><td>hour {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>hour</h2> + +<h3>Description</h3> + +<p>Extracts the hours as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +hour(x) + +hour(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: hour(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/hypot.html b/site/docs/1.5.0/api/R/hypot.html new file mode 100644 index 000000000..19efd2aaf --- /dev/null +++ b/site/docs/1.5.0/api/R/hypot.html @@ -0,0 +1,69 @@ +<!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: hypot</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 hypot {SparkR}"><tr><td>hypot {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>hypot</h2> + +<h3>Description</h3> + +<p>Computes 'sqrt(a^2^ + b^2^)' without intermediate overflow or underflow. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +hypot(y, x) + +hypot(y, 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">ceil</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="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">signum</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: hypot(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/ifelse.html b/site/docs/1.5.0/api/R/ifelse.html new file mode 100644 index 000000000..fe5bf646c --- /dev/null +++ b/site/docs/1.5.0/api/R/ifelse.html @@ -0,0 +1,43 @@ +<!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: ifelse</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 ifelse {SparkR}"><tr><td>ifelse {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>ifelse</h2> + +<h3>Description</h3> + +<p>Evaluates a list of conditions and returns <code>yes</code> if the conditions are satisfied. +Otherwise <code>no</code> is returned for unmatched conditions. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +ifelse(test, yes, no) +</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="isNaN.html">isNaN</a></code>, <code><a href="isNaN.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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/index.html b/site/docs/1.5.0/api/R/index.html new file mode 100644 index 000000000..11d4c8d87 --- /dev/null +++ b/site/docs/1.5.0/api/R/index.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> +<html> +<head><title>Documentation of the SparkR package</title></head> +<frameset cols="15%,*"> + <frame src="00frame_toc.html"> + <frame src="00Index.html" name="content"> +</frameset> +</html> + diff --git a/site/docs/1.5.0/api/R/infer_type.html b/site/docs/1.5.0/api/R/infer_type.html new file mode 100644 index 000000000..014f55ab3 --- /dev/null +++ b/site/docs/1.5.0/api/R/infer_type.html @@ -0,0 +1,23 @@ +<!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: infer the SQL type</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 infer_type {SparkR}"><tr><td>infer_type {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>infer the SQL type</h2> + +<h3>Description</h3> + +<p>infer the SQL type +</p> + + +<h3>Usage</h3> + +<pre> +infer_type(x) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/initcap.html b/site/docs/1.5.0/api/R/initcap.html new file mode 100644 index 000000000..4ddfa2f59 --- /dev/null +++ b/site/docs/1.5.0/api/R/initcap.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: initcap</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 initcap {SparkR}"><tr><td>initcap {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>initcap</h2> + +<h3>Description</h3> + +<p>Returns a new string column by converting the first letter of each word to uppercase. +Words are delimited by whitespace. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +initcap(x) + +initcap(x) +</pre> + + +<h3>Details</h3> + +<p>For example, "hello world" will become "Hello World". +</p> + + +<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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: initcap(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/insertInto.html b/site/docs/1.5.0/api/R/insertInto.html new file mode 100644 index 000000000..a744d5f6e --- /dev/null +++ b/site/docs/1.5.0/api/R/insertInto.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: insertInto</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 insertInto {SparkR}"><tr><td>insertInto {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>insertInto</h2> + +<h3>Description</h3> + +<p>Insert the contents of a DataFrame into a table registered in the current SQL Context. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +insertInto(x, tableName, overwrite = FALSE) + +insertInto(x, tableName, ...) +</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>tableName</code></td> +<td> +<p>A character vector containing the name of the table</p> +</td></tr> +<tr valign="top"><td><code>overwrite</code></td> +<td> +<p>A logical argument indicating whether or not to overwrite +the existing rows in the table.</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df <- read.df(sqlContext, path, "parquet") +##D df2 <- read.df(sqlContext, path2, "parquet") +##D registerTempTable(df, "table1") +##D insertInto(df2, "table1", overwrite = TRUE) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/instr.html b/site/docs/1.5.0/api/R/instr.html new file mode 100644 index 000000000..7b5ca583f --- /dev/null +++ b/site/docs/1.5.0/api/R/instr.html @@ -0,0 +1,65 @@ +<!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: instr</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 instr {SparkR}"><tr><td>instr {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>instr</h2> + +<h3>Description</h3> + +<p>Locate the position of the first occurrence of substr column in the given string. +Returns null if either of the arguments are null. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character' +instr(y, x) + +instr(y, x) +</pre> + + +<h3>Details</h3> + +<p>NOTE: The position is not zero based, but 1 based index, returns 0 if substr +could not be found in str. +</p> + + +<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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/intersect.html b/site/docs/1.5.0/api/R/intersect.html new file mode 100644 index 000000000..2de177434 --- /dev/null +++ b/site/docs/1.5.0/api/R/intersect.html @@ -0,0 +1,65 @@ +<!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: Intersect</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 intersect {SparkR}"><tr><td>intersect {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Intersect</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame containing rows only in both this DataFrame +and another DataFrame. This is equivalent to 'INTERSECT' in SQL. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +intersect(x, y) + +intersect(x, y) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +<tr valign="top"><td><code>y</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame containing the result of the intersect. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df1 <- jsonFile(sqlContext, path) +##D df2 <- jsonFile(sqlContext, path2) +##D intersectDF <- intersect(df, df2) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/isLocal.html b/site/docs/1.5.0/api/R/isLocal.html new file mode 100644 index 000000000..07ba73ebb --- /dev/null +++ b/site/docs/1.5.0/api/R/isLocal.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: isLocal</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 isLocal {SparkR}"><tr><td>isLocal {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>isLocal</h2> + +<h3>Description</h3> + +<p>Returns True if the 'collect' and 'take' methods can be run locally +(without any Spark executors). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +isLocal(x) + +isLocal(x) +</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>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 <- jsonFile(sqlContext, path) +##D isLocal(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/isNaN.html b/site/docs/1.5.0/api/R/isNaN.html new file mode 100644 index 000000000..212fc2c38 --- /dev/null +++ b/site/docs/1.5.0/api/R/isNaN.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: isNaN</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 isNaN {SparkR}"><tr><td>isNaN {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>isNaN</h2> + +<h3>Description</h3> + +<p>Return true iff the column is NaN. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +isNaN(x) + +isNaN(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="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="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: isNaN(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/join.html b/site/docs/1.5.0/api/R/join.html new file mode 100644 index 000000000..30f932cf3 --- /dev/null +++ b/site/docs/1.5.0/api/R/join.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: Join</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 join {SparkR}"><tr><td>join {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Join</h2> + +<h3>Description</h3> + +<p>Join two DataFrames based on the given join expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +join(x, y, joinExpr = NULL, joinType = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +<tr valign="top"><td><code>y</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +<tr valign="top"><td><code>joinExpr</code></td> +<td> +<p>(Optional) The expression used to perform the join. joinExpr must be a +Column expression. If joinExpr is omitted, join() wil perform a Cartesian join</p> +</td></tr> +<tr valign="top"><td><code>joinType</code></td> +<td> +<p>The type of join to perform. The following join types are available: +'inner', 'outer', 'left_outer', 'right_outer', 'semijoin'. The default joinType is "inner".</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame containing the result of the join operation. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df1 <- jsonFile(sqlContext, path) +##D df2 <- jsonFile(sqlContext, path2) +##D join(df1, df2) # Performs a Cartesian +##D join(df1, df2, df1$col1 == df2$col2) # Performs an inner join based on expression +##D join(df1, df2, df1$col1 == df2$col2, "right_outer") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/jsonFile.html b/site/docs/1.5.0/api/R/jsonFile.html new file mode 100644 index 000000000..0b7d947c6 --- /dev/null +++ b/site/docs/1.5.0/api/R/jsonFile.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: Create a DataFrame from a JSON file.</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 jsonFile {SparkR}"><tr><td>jsonFile {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Create a DataFrame from a JSON file.</h2> + +<h3>Description</h3> + +<p>Loads a JSON file (one object per line), returning the result as a DataFrame +It goes through the entire dataset once to determine the schema. +</p> + + +<h3>Usage</h3> + +<pre> +jsonFile(sqlContext, path) +</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>path</code></td> +<td> +<p>Path of file to read. A vector of multiple paths is allowed.</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 <- jsonFile(sqlContext, path) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/last.html b/site/docs/1.5.0/api/R/last.html new file mode 100644 index 000000000..c44a02828 --- /dev/null +++ b/site/docs/1.5.0/api/R/last.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: last</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 last {SparkR}"><tr><td>last {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>last</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the last value in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +last(x) + +last(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>; +<code><a href="sum.html">sum</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: last(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/last_day.html b/site/docs/1.5.0/api/R/last_day.html new file mode 100644 index 000000000..a7cfea8ee --- /dev/null +++ b/site/docs/1.5.0/api/R/last_day.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: last_day</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 last_day {SparkR}"><tr><td>last_day {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>last_day</h2> + +<h3>Description</h3> + +<p>Given a date column, returns the last day of the month which the given date belongs to. +For example, input "2015-07-27" returns "2015-07-31" since July 31 is the last day of the +month in July 2015. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +last_day(x) + +last_day(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: last_day(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/least.html b/site/docs/1.5.0/api/R/least.html new file mode 100644 index 000000000..acdda715f --- /dev/null +++ b/site/docs/1.5.0/api/R/least.html @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: least</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 least {SparkR}"><tr><td>least {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>least</h2> + +<h3>Description</h3> + +<p>Returns the least value of the list of column names, skipping null values. +This function takes at least 2 parameters. It will return null iff all parameters are null. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +least(x, ...) + +least(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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.html">isNaN</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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/length.html b/site/docs/1.5.0/api/R/length.html new file mode 100644 index 000000000..5435ebabe --- /dev/null +++ b/site/docs/1.5.0/api/R/length.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: length</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 length {SparkR}"><tr><td>length {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>length</h2> + +<h3>Description</h3> + +<p>Computes the length of a given string or binary column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +length(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: length(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/levenshtein.html b/site/docs/1.5.0/api/R/levenshtein.html new file mode 100644 index 000000000..c46f91282 --- /dev/null +++ b/site/docs/1.5.0/api/R/levenshtein.html @@ -0,0 +1,69 @@ +<!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: levenshtein</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 levenshtein {SparkR}"><tr><td>levenshtein {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>levenshtein</h2> + +<h3>Description</h3> + +<p>Computes the Levenshtein distance of the two given string columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +levenshtein(y, x) + +levenshtein(y, 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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: levenshtein(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/limit.html b/site/docs/1.5.0/api/R/limit.html new file mode 100644 index 000000000..9631e50ca --- /dev/null +++ b/site/docs/1.5.0/api/R/limit.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: Limit</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 limit {SparkR}"><tr><td>limit {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Limit</h2> + +<h3>Description</h3> + +<p>Limit the resulting DataFrame to the number of rows specified. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numeric' +limit(x, num) + +limit(x, num) +</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>num</code></td> +<td> +<p>The number of rows to return</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A new DataFrame containing the number of rows specified. +</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 <- jsonFile(sqlContext, path) +##D limitedDF <- limit(df, 10) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/lit.html b/site/docs/1.5.0/api/R/lit.html new file mode 100644 index 000000000..9eb2e3334 --- /dev/null +++ b/site/docs/1.5.0/api/R/lit.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Creates a 'Column' of literal value.</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 lit {SparkR}"><tr><td>lit {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Creates a <code>Column</code> of literal value.</h2> + +<h3>Description</h3> + +<p>The passed in object is returned directly if it is already a <a href="column.html">Column</a>. +If the object is a Scala Symbol, it is converted into a <a href="column.html">Column</a> also. +Otherwise, a new <a href="column.html">Column</a> is created to represent the literal value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'ANY' +lit(x) + +lit(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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.html">isNaN</a></code>; <code><a href="least.html">least</a></code>, +<code><a href="least.html">least</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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/locate.html b/site/docs/1.5.0/api/R/locate.html new file mode 100644 index 000000000..04e92145c --- /dev/null +++ b/site/docs/1.5.0/api/R/locate.html @@ -0,0 +1,59 @@ +<!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: locate</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 locate {SparkR}"><tr><td>locate {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>locate</h2> + +<h3>Description</h3> + +<p>Locate the position of the first occurrence of substr. +NOTE: The position is not zero based, but 1 based index, returns 0 if substr +could not be found in str. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'character,Column' +locate(substr, str, pos = 0) + +locate(substr, str, ...) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/log.html b/site/docs/1.5.0/api/R/log.html new file mode 100644 index 000000000..d379017e7 --- /dev/null +++ b/site/docs/1.5.0/api/R/log.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: log</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 log {SparkR}"><tr><td>log {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>log</h2> + +<h3>Description</h3> + +<p>Computes the natural logarithm of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +log(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">ceil</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="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">signum</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: log(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/log10.html b/site/docs/1.5.0/api/R/log10.html new file mode 100644 index 000000000..c4a3780c9 --- /dev/null +++ b/site/docs/1.5.0/api/R/log10.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: log10</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 log10 {SparkR}"><tr><td>log10 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>log10</h2> + +<h3>Description</h3> + +<p>Computes the logarithm of the given value in base 10. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +log10(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">ceil</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="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">signum</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: log10(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/log1p.html b/site/docs/1.5.0/api/R/log1p.html new file mode 100644 index 000000000..49f084aa4 --- /dev/null +++ b/site/docs/1.5.0/api/R/log1p.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: log1p</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 log1p {SparkR}"><tr><td>log1p {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>log1p</h2> + +<h3>Description</h3> + +<p>Computes the natural logarithm of the given value plus one. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +log1p(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">ceil</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="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">signum</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: log1p(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/log2.html b/site/docs/1.5.0/api/R/log2.html new file mode 100644 index 000000000..aefb97dcb --- /dev/null +++ b/site/docs/1.5.0/api/R/log2.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: log2</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 log2 {SparkR}"><tr><td>log2 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>log2</h2> + +<h3>Description</h3> + +<p>Computes the logarithm of the given column in base 2. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +log2(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">ceil</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="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">signum</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: log2(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/lower.html b/site/docs/1.5.0/api/R/lower.html new file mode 100644 index 000000000..2f09668fd --- /dev/null +++ b/site/docs/1.5.0/api/R/lower.html @@ -0,0 +1,69 @@ +<!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: lower</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 lower {SparkR}"><tr><td>lower {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>lower</h2> + +<h3>Description</h3> + +<p>Converts a string column to lower case. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +lower(x) + +lower(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: lower(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/lpad.html b/site/docs/1.5.0/api/R/lpad.html new file mode 100644 index 000000000..78bfa51bb --- /dev/null +++ b/site/docs/1.5.0/api/R/lpad.html @@ -0,0 +1,57 @@ +<!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: lpad</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 lpad {SparkR}"><tr><td>lpad {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>lpad</h2> + +<h3>Description</h3> + +<p>Left-pad the string column with +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric,character' +lpad(x, len, pad) + +lpad(x, len, pad) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/ltrim.html b/site/docs/1.5.0/api/R/ltrim.html new file mode 100644 index 000000000..1d4c8d1c0 --- /dev/null +++ b/site/docs/1.5.0/api/R/ltrim.html @@ -0,0 +1,69 @@ +<!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: ltrim</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 ltrim {SparkR}"><tr><td>ltrim {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>ltrim</h2> + +<h3>Description</h3> + +<p>Trim the spaces from left end for the specified string value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +ltrim(x) + +ltrim(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: ltrim(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/match.html b/site/docs/1.5.0/api/R/match.html new file mode 100644 index 000000000..7a1109ae7 --- /dev/null +++ b/site/docs/1.5.0/api/R/match.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Match a column with given values.</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for %in% {SparkR}"><tr><td>%in% {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Match a column with given values.</h2> + +<h3>Description</h3> + +<p>Match a column with given values. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +x %in% table +</pre> + + +<h3>Value</h3> + +<p>a matched values as a result of comparing with given values. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D filter(df, "age in (10, 30)") +##D where(df, df$age %in% c(10, 30)) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/max.html b/site/docs/1.5.0/api/R/max.html new file mode 100644 index 000000000..577c88952 --- /dev/null +++ b/site/docs/1.5.0/api/R/max.html @@ -0,0 +1,53 @@ +<!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: max</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 max {SparkR}"><tr><td>max {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>max</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the maximum value of the expression in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +max(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>; <code><a href="mean.html">mean</a></code>; +<code><a href="min.html">min</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> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: max(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/md5.html b/site/docs/1.5.0/api/R/md5.html new file mode 100644 index 000000000..364615581 --- /dev/null +++ b/site/docs/1.5.0/api/R/md5.html @@ -0,0 +1,47 @@ +<!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: md5</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 md5 {SparkR}"><tr><td>md5 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>md5</h2> + +<h3>Description</h3> + +<p>Calculates the MD5 digest of a binary column and returns the value +as a 32 character hex string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +md5(x) + +md5(x) +</pre> + + +<h3>See Also</h3> + +<p>Other misc_funcs: <code><a href="crc32.html">crc32</a></code>, <code><a href="crc32.html">crc32</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: md5(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/mean.html b/site/docs/1.5.0/api/R/mean.html new file mode 100644 index 000000000..f8daacb9b --- /dev/null +++ b/site/docs/1.5.0/api/R/mean.html @@ -0,0 +1,54 @@ +<!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: mean</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 mean {SparkR}"><tr><td>mean {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>mean</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the average of the values in a group. +Alias for avg. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +mean(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="min.html">min</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> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: mean(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/merge-DataFrame-DataFrame-method.html b/site/docs/1.5.0/api/R/merge-DataFrame-DataFrame-method.html new file mode 100644 index 000000000..83ad49b02 --- /dev/null +++ b/site/docs/1.5.0/api/R/merge-DataFrame-DataFrame-method.html @@ -0,0 +1,27 @@ +<!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: rdname merge aliases join</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 merge,DataFrame,DataFrame-method {SparkR}"><tr><td>merge,DataFrame,DataFrame-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rdname merge +aliases join</h2> + +<h3>Description</h3> + +<p>rdname merge +aliases join +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +merge(x, y, joinExpr = NULL, + joinType = NULL, ...) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/merge.html b/site/docs/1.5.0/api/R/merge.html new file mode 100644 index 000000000..be5388bef --- /dev/null +++ b/site/docs/1.5.0/api/R/merge.html @@ -0,0 +1,27 @@ +<!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: rdname merge</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 merge {SparkR}"><tr><td>merge {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rdname merge</h2> + +<h3>Description</h3> + +<p>rdname merge +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +merge(x, y, joinExpr = NULL, + joinType = NULL, ...) + +merge(x, y, ...) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/min.html b/site/docs/1.5.0/api/R/min.html new file mode 100644 index 000000000..824aa18a2 --- /dev/null +++ b/site/docs/1.5.0/api/R/min.html @@ -0,0 +1,53 @@ +<!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: min</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 min {SparkR}"><tr><td>min {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>min</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the minimum value of the expression in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +min(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct</a></code>; <code><a href="sum.html">sum</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: min(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/minute.html b/site/docs/1.5.0/api/R/minute.html new file mode 100644 index 000000000..ae6e7ba54 --- /dev/null +++ b/site/docs/1.5.0/api/R/minute.html @@ -0,0 +1,69 @@ +<!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: minute</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 minute {SparkR}"><tr><td>minute {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>minute</h2> + +<h3>Description</h3> + +<p>Extracts the minutes as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +minute(x) + +minute(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: minute(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/month.html b/site/docs/1.5.0/api/R/month.html new file mode 100644 index 000000000..94042ff7c --- /dev/null +++ b/site/docs/1.5.0/api/R/month.html @@ -0,0 +1,69 @@ +<!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: month</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 month {SparkR}"><tr><td>month {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>month</h2> + +<h3>Description</h3> + +<p>Extracts the month as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +month(x) + +month(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: month(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/months_between.html b/site/docs/1.5.0/api/R/months_between.html new file mode 100644 index 000000000..3bb72d3fc --- /dev/null +++ b/site/docs/1.5.0/api/R/months_between.html @@ -0,0 +1,69 @@ +<!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: months_between</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 months_between {SparkR}"><tr><td>months_between {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>months_between</h2> + +<h3>Description</h3> + +<p>Returns number of months between dates 'date1' and 'date2'. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +months_between(y, x) + +months_between(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: months_between(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/nafunctions.html b/site/docs/1.5.0/api/R/nafunctions.html new file mode 100644 index 000000000..b6399028c --- /dev/null +++ b/site/docs/1.5.0/api/R/nafunctions.html @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: dropna</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 dropna {SparkR}"><tr><td>dropna {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>dropna</h2> + +<h3>Description</h3> + +<p>Returns a new DataFrame omitting rows with null values. +</p> +<p>Replace null values. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +dropna(x, how = c("any", "all"), minNonNulls = NULL, + cols = NULL) + +## S4 method for signature 'DataFrame' +na.omit(object, how = c("any", "all"), + minNonNulls = NULL, cols = NULL) + +## S4 method for signature 'DataFrame' +fillna(x, value, cols = NULL) + +dropna(x, how = c("any", "all"), minNonNulls = NULL, cols = NULL) + +na.omit(object, ...) + +fillna(x, value, cols = NULL) +</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>how</code></td> +<td> +<p>"any" or "all". +if "any", drop a row if it contains any nulls. +if "all", drop a row only if all its values are null. +if minNonNulls is specified, how is ignored.</p> +</td></tr> +<tr valign="top"><td><code>minNonNulls</code></td> +<td> +<p>If specified, drop rows that have less than +minNonNulls non-null values. +This overwrites the how parameter.</p> +</td></tr> +<tr valign="top"><td><code>cols</code></td> +<td> +<p>Optional list of column names to consider.</p> +</td></tr> +<tr valign="top"><td><code>value</code></td> +<td> +<p>Value to replace null values with. +Should be an integer, numeric, character or named list. +If the value is a named list, then cols is ignored and +value must be a mapping from column name (character) to +replacement value. The replacement value must be an +integer, numeric or character.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame.</p> +</td></tr> +<tr valign="top"><td><code>cols</code></td> +<td> +<p>optional list of column names to consider. +Columns specified in cols that do not have matching data +type are ignored. For example, if value is a character, and +subset contains a non-character column, then the non-character +column is simply ignored.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame +</p> +<p>A DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- jsonFile(sqlCtx, path) +##D dropna(df) +## End(Not run) +## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- jsonFile(sqlCtx, path) +##D fillna(df, 1) +##D fillna(df, list("age" = 20, "name" = "unknown")) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/nanvl.html b/site/docs/1.5.0/api/R/nanvl.html new file mode 100644 index 000000000..b3d9d9ea2 --- /dev/null +++ b/site/docs/1.5.0/api/R/nanvl.html @@ -0,0 +1,56 @@ +<!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: nanvl</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 nanvl {SparkR}"><tr><td>nanvl {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>nanvl</h2> + +<h3>Description</h3> + +<p>Returns col1 if it is not NaN, or col2 if col1 is NaN. +hhBoth inputs should be floating point columns (DoubleType or FloatType). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +nanvl(y, x) + +nanvl(y, 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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="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="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: nanvl(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/ncol.html b/site/docs/1.5.0/api/R/ncol.html new file mode 100644 index 000000000..9c7bc758d --- /dev/null +++ b/site/docs/1.5.0/api/R/ncol.html @@ -0,0 +1,52 @@ +<!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: Returns the number of columns in 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 ncol {SparkR}"><tr><td>ncol {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Returns the number of columns in a DataFrame</h2> + +<h3>Description</h3> + +<p>Returns the number of columns in a DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +ncol(x) +</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>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 <- jsonFile(sqlContext, path) +##D ncol(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/negate.html b/site/docs/1.5.0/api/R/negate.html new file mode 100644 index 000000000..3eb22a285 --- /dev/null +++ b/site/docs/1.5.0/api/R/negate.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: negate</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 negate {SparkR}"><tr><td>negate {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>negate</h2> + +<h3>Description</h3> + +<p>Unary minus, i.e. negate the expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +negate(x) + +negate(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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="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="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: negate(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/next_day.html b/site/docs/1.5.0/api/R/next_day.html new file mode 100644 index 000000000..27c33cf4a --- /dev/null +++ b/site/docs/1.5.0/api/R/next_day.html @@ -0,0 +1,68 @@ +<!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: next_day</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 next_day {SparkR}"><tr><td>next_day {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>next_day</h2> + +<h3>Description</h3> + +<p>Given a date column, returns the first date which is later than the value of the date column +that is on the specified day of the week. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character' +next_day(y, x) + +next_day(y, x) +</pre> + + +<h3>Details</h3> + +<p>For example, <code>next_day('2015-07-27', "Sunday")</code> returns 2015-08-02 because that is the first +Sunday after 2015-07-27. +</p> +<p>Day of the week parameter is case insensitive, and accepts: +"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun". +</p> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/nrow.html b/site/docs/1.5.0/api/R/nrow.html new file mode 100644 index 000000000..43fbfe82c --- /dev/null +++ b/site/docs/1.5.0/api/R/nrow.html @@ -0,0 +1,24 @@ +<!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: Number of rows for a DataFrame</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 nrow {SparkR}"><tr><td>nrow {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Number of rows for a DataFrame</h2> + +<h3>Description</h3> + +<p>Returns number of rows in a DataFrames +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +nrow(x) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/otherwise.html b/site/docs/1.5.0/api/R/otherwise.html new file mode 100644 index 000000000..d13cbeb6e --- /dev/null +++ b/site/docs/1.5.0/api/R/otherwise.html @@ -0,0 +1,33 @@ +<!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: otherwise</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 otherwise {SparkR}"><tr><td>otherwise {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>otherwise</h2> + +<h3>Description</h3> + +<p>If values in the specified column are null, returns the value. +Can be used in conjunction with 'when' to specify a default value for expressions. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +otherwise(x, value) +</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="column.html">cast</a></code>; +<code><a href="substr.html">substr</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/parquetFile.html b/site/docs/1.5.0/api/R/parquetFile.html new file mode 100644 index 000000000..06a72c3c4 --- /dev/null +++ b/site/docs/1.5.0/api/R/parquetFile.html @@ -0,0 +1,43 @@ +<!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 DataFrame from a Parquet file.</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 parquetFile {SparkR}"><tr><td>parquetFile {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Create a DataFrame from a Parquet file.</h2> + +<h3>Description</h3> + +<p>Loads a Parquet file, returning the result as a DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +parquetFile(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> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Path(s) of parquet file(s) to read.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>DataFrame +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/persist.html b/site/docs/1.5.0/api/R/persist.html new file mode 100644 index 000000000..55b293b46 --- /dev/null +++ b/site/docs/1.5.0/api/R/persist.html @@ -0,0 +1,54 @@ +<!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: Persist</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 persist {SparkR}"><tr><td>persist {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Persist</h2> + +<h3>Description</h3> + +<p>Persist this DataFrame with the specified storage level. For details of the +supported storage levels, refer to +http://spark.apache.org/docs/latest/programming-guide.html#rdd-persistence. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +persist(x, newLevel) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>The DataFrame to persist</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D persist(df, "MEMORY_AND_DISK") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/pmod.html b/site/docs/1.5.0/api/R/pmod.html new file mode 100644 index 000000000..cde3062a6 --- /dev/null +++ b/site/docs/1.5.0/api/R/pmod.html @@ -0,0 +1,69 @@ +<!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: pmod</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 pmod {SparkR}"><tr><td>pmod {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>pmod</h2> + +<h3>Description</h3> + +<p>Returns the positive value of dividend mod divisor. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +pmod(y, x) + +pmod(y, 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">ceil</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="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">signum</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: pmod(df$c, x) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/predict-PipelineModel-method.html b/site/docs/1.5.0/api/R/predict-PipelineModel-method.html new file mode 100644 index 000000000..4dee5fcb9 --- /dev/null +++ b/site/docs/1.5.0/api/R/predict-PipelineModel-method.html @@ -0,0 +1,60 @@ +<!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: Fits a generalized linear model, similarly to R's glm().</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 predict,PipelineModel-method {SparkR}"><tr><td>predict,PipelineModel-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Fits a generalized linear model, similarly to R's glm().</h2> + +<h3>Description</h3> + +<p>Fits a generalized linear model, similarly to R's glm(). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'PipelineModel' +predict(object, newData) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>newData</code></td> +<td> +<p>DataFrame for testing</p> +</td></tr> +<tr valign="top"><td><code>model</code></td> +<td> +<p>A fitted MLlib model</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>DataFrame containing predicted values +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D model <- glm(y ~ x, trainingData) +##D predicted <- predict(model, testData) +##D showDF(predicted) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.4.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/predict.html b/site/docs/1.5.0/api/R/predict.html new file mode 100644 index 000000000..5b71bf9b8 --- /dev/null +++ b/site/docs/1.5.0/api/R/predict.html @@ -0,0 +1,60 @@ +<!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: Make predictions from a model</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 predict,PipelineModel-method {SparkR}"><tr><td>predict,PipelineModel-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Make predictions from a model</h2> + +<h3>Description</h3> + +<p>Makes predictions from a model produced by glm(), similarly to R's predict(). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'PipelineModel' +predict(object, newData) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>object</code></td> +<td> +<p>A fitted MLlib model</p> +</td></tr> +<tr valign="top"><td><code>newData</code></td> +<td> +<p>DataFrame for testing</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>DataFrame containing predicted values +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D model <- glm(y ~ x, trainingData) +##D predicted <- predict(model, testData) +##D showDF(predicted) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/print.jobj.html b/site/docs/1.5.0/api/R/print.jobj.html new file mode 100644 index 000000000..3028ae496 --- /dev/null +++ b/site/docs/1.5.0/api/R/print.jobj.html @@ -0,0 +1,39 @@ +<!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: Print a JVM object reference.</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 print.jobj {SparkR}"><tr><td>print.jobj {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Print a JVM object reference.</h2> + +<h3>Description</h3> + +<p>This function prints the type and id for an object stored +in the SparkR JVM backend. +</p> + + +<h3>Usage</h3> + +<pre> +## S3 method for class 'jobj' +print(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>The JVM object reference</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments passed to or from other methods</p> +</td></tr> +</table> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/print.structField.html b/site/docs/1.5.0/api/R/print.structField.html new file mode 100644 index 000000000..4069c90ee --- /dev/null +++ b/site/docs/1.5.0/api/R/print.structField.html @@ -0,0 +1,39 @@ +<!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: Print a Spark StructField.</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 print.structField {SparkR}"><tr><td>print.structField {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Print a Spark StructField.</h2> + +<h3>Description</h3> + +<p>This function prints the contents of a StructField returned from the +SparkR JVM backend. +</p> + + +<h3>Usage</h3> + +<pre> +## S3 method for class 'structField' +print(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A StructField object</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments passed to or from other methods</p> +</td></tr> +</table> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/print.structType.html b/site/docs/1.5.0/api/R/print.structType.html new file mode 100644 index 000000000..af0038ce8 --- /dev/null +++ b/site/docs/1.5.0/api/R/print.structType.html @@ -0,0 +1,39 @@ +<!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: Print a Spark StructType.</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 print.structType {SparkR}"><tr><td>print.structType {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Print a Spark StructType.</h2> + +<h3>Description</h3> + +<p>This function prints the contents of a StructType returned from the +SparkR JVM backend. +</p> + + +<h3>Usage</h3> + +<pre> +## S3 method for class 'structType' +print(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A StructType object</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments passed to or from other methods</p> +</td></tr> +</table> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/printSchema.html b/site/docs/1.5.0/api/R/printSchema.html new file mode 100644 index 000000000..998095e87 --- /dev/null +++ b/site/docs/1.5.0/api/R/printSchema.html @@ -0,0 +1,52 @@ +<!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: Print Schema of 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 printSchema {SparkR}"><tr><td>printSchema {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Print Schema of a DataFrame</h2> + +<h3>Description</h3> + +<p>Prints out the schema in tree format +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +printSchema(x) +</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>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 <- jsonFile(sqlContext, path) +##D printSchema(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/quarter.html b/site/docs/1.5.0/api/R/quarter.html new file mode 100644 index 000000000..8c7bd665e --- /dev/null +++ b/site/docs/1.5.0/api/R/quarter.html @@ -0,0 +1,69 @@ +<!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: quarter</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 quarter {SparkR}"><tr><td>quarter {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>quarter</h2> + +<h3>Description</h3> + +<p>Extracts the quarter as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +quarter(x) + +quarter(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: quarter(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/rand.html b/site/docs/1.5.0/api/R/rand.html new file mode 100644 index 000000000..75b09835e --- /dev/null +++ b/site/docs/1.5.0/api/R/rand.html @@ -0,0 +1,59 @@ +<!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: rand</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 rand {SparkR}"><tr><td>rand {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rand</h2> + +<h3>Description</h3> + +<p>Generate a random column with i.i.d. samples from U[0.0, 1.0]. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'missing' +rand(seed) + +## S4 method for signature 'numeric' +rand(seed) + +rand(seed) +</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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="when.html">when</a></code> +</p> +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>; +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/randn.html b/site/docs/1.5.0/api/R/randn.html new file mode 100644 index 000000000..2731b5f3e --- /dev/null +++ b/site/docs/1.5.0/api/R/randn.html @@ -0,0 +1,59 @@ +<!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: randn</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 randn {SparkR}"><tr><td>randn {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>randn</h2> + +<h3>Description</h3> + +<p>Generate a column with i.i.d. samples from the standard normal distribution. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'missing' +randn(seed) + +## S4 method for signature 'numeric' +randn(seed) + +randn(seed) +</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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="rand.html">rand</a></code>, +<code><a href="rand.html">rand</a></code>, <code><a href="rand.html">rand</a></code>; +<code><a href="when.html">when</a></code> +</p> +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>; +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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="rand.html">rand</a></code>, +<code><a href="rand.html">rand</a></code>, <code><a href="rand.html">rand</a></code>; +<code><a href="when.html">when</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/rbind.html b/site/docs/1.5.0/api/R/rbind.html new file mode 100644 index 000000000..dfe3cc9de --- /dev/null +++ b/site/docs/1.5.0/api/R/rbind.html @@ -0,0 +1,26 @@ +<!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: Union two or more DataFrames</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 rbind {SparkR}"><tr><td>rbind {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Union two or more DataFrames</h2> + +<h3>Description</h3> + +<p>Returns a new DataFrame containing rows of all parameters. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +rbind(x, ..., deparse.level = 1) + +rbind(..., deparse.level = 1) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/read.df.html b/site/docs/1.5.0/api/R/read.df.html new file mode 100644 index 000000000..b72d088ca --- /dev/null +++ b/site/docs/1.5.0/api/R/read.df.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: Load an 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 read.df {SparkR}"><tr><td>read.df {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Load an DataFrame</h2> + +<h3>Description</h3> + +<p>Returns the dataset in a data source as a DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +read.df(sqlContext, path = NULL, source = NULL, schema = 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>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 <- read.df(sqlContext, "path/to/file.json", source = "json") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/regexp_extract.html b/site/docs/1.5.0/api/R/regexp_extract.html new file mode 100644 index 000000000..23ba2ff92 --- /dev/null +++ b/site/docs/1.5.0/api/R/regexp_extract.html @@ -0,0 +1,56 @@ +<!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: regexp_extract</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 regexp_extract {SparkR}"><tr><td>regexp_extract {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>regexp_extract</h2> + +<h3>Description</h3> + +<p>Extract a specific(idx) group identified by a java regex, from the specified string column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character,numeric' +regexp_extract(x, pattern, idx) + +regexp_extract(x, pattern, idx) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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_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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/regexp_replace.html b/site/docs/1.5.0/api/R/regexp_replace.html new file mode 100644 index 000000000..93bc54396 --- /dev/null +++ b/site/docs/1.5.0/api/R/regexp_replace.html @@ -0,0 +1,56 @@ +<!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: regexp_replace</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 regexp_replace {SparkR}"><tr><td>regexp_replace {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>regexp_replace</h2> + +<h3>Description</h3> + +<p>Replace all substrings of the specified string value that match regexp with rep. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character,character' +regexp_replace(x, pattern, replacement) + +regexp_replace(x, pattern, replacement) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/registerTempTable.html b/site/docs/1.5.0/api/R/registerTempTable.html new file mode 100644 index 000000000..0203fd94e --- /dev/null +++ b/site/docs/1.5.0/api/R/registerTempTable.html @@ -0,0 +1,59 @@ +<!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: Register Temporary 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 registerTempTable {SparkR}"><tr><td>registerTempTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Register Temporary Table</h2> + +<h3>Description</h3> + +<p>Registers a DataFrame as a Temporary Table in the SQLContext +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +registerTempTable(x, tableName) + +registerTempTable(x, tableName) +</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>tableName</code></td> +<td> +<p>A character vector containing the name of the table</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D registerTempTable(df, "json_df") +##D new_df <- sql(sqlContext, "SELECT * FROM json_df") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/repartition.html b/site/docs/1.5.0/api/R/repartition.html new file mode 100644 index 000000000..d4527ce5f --- /dev/null +++ b/site/docs/1.5.0/api/R/repartition.html @@ -0,0 +1,56 @@ +<!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: Repartition</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 repartition {SparkR}"><tr><td>repartition {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Repartition</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame that has exactly numPartitions partitions. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numeric' +repartition(x, numPartitions) +</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>numPartitions</code></td> +<td> +<p>The number of partitions to use.</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D newDF <- repartition(df, 2L) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/reverse.html b/site/docs/1.5.0/api/R/reverse.html new file mode 100644 index 000000000..f04eb0946 --- /dev/null +++ b/site/docs/1.5.0/api/R/reverse.html @@ -0,0 +1,69 @@ +<!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: reverse</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 reverse {SparkR}"><tr><td>reverse {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>reverse</h2> + +<h3>Description</h3> + +<p>Reverses the string column and returns it as a new string column. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +reverse(x) + +reverse(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: reverse(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/rint.html b/site/docs/1.5.0/api/R/rint.html new file mode 100644 index 000000000..c7bc4e0e7 --- /dev/null +++ b/site/docs/1.5.0/api/R/rint.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: rint</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 rint {SparkR}"><tr><td>rint {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rint</h2> + +<h3>Description</h3> + +<p>Returns the double value that is closest in value to the argument and +is equal to a mathematical integer. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +rint(x) + +rint(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">ceil</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="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">signum</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: rint(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/round.html b/site/docs/1.5.0/api/R/round.html new file mode 100644 index 000000000..8b8c2c5c3 --- /dev/null +++ b/site/docs/1.5.0/api/R/round.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: round</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 round {SparkR}"><tr><td>round {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>round</h2> + +<h3>Description</h3> + +<p>Returns the value of the column 'e' rounded to 0 decimal places. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +round(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">ceil</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="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">signum</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: round(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/rpad.html b/site/docs/1.5.0/api/R/rpad.html new file mode 100644 index 000000000..0e99e13f9 --- /dev/null +++ b/site/docs/1.5.0/api/R/rpad.html @@ -0,0 +1,57 @@ +<!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: rpad</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 rpad {SparkR}"><tr><td>rpad {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rpad</h2> + +<h3>Description</h3> + +<p>Right-padded with pad to a length of len. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric,character' +rpad(x, len, pad) + +rpad(x, len, pad) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/rtrim.html b/site/docs/1.5.0/api/R/rtrim.html new file mode 100644 index 000000000..300bdbe29 --- /dev/null +++ b/site/docs/1.5.0/api/R/rtrim.html @@ -0,0 +1,69 @@ +<!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: rtrim</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 rtrim {SparkR}"><tr><td>rtrim {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>rtrim</h2> + +<h3>Description</h3> + +<p>Trim the spaces from right end for the specified string value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +rtrim(x) + +rtrim(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: rtrim(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sample.html b/site/docs/1.5.0/api/R/sample.html new file mode 100644 index 000000000..16f8e806c --- /dev/null +++ b/site/docs/1.5.0/api/R/sample.html @@ -0,0 +1,68 @@ +<!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: Sample</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 sample,DataFrame,logical,numeric-method {SparkR}"><tr><td>sample,DataFrame,logical,numeric-method {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Sample</h2> + +<h3>Description</h3> + +<p>Return a sampled subset of this DataFrame using a random seed. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,logical,numeric' +sample(x, withReplacement, fraction) + +## S4 method for signature 'DataFrame,logical,numeric' +sample_frac(x, withReplacement, fraction) + +sample(x, withReplacement, fraction, seed) + +sample_frac(x, withReplacement, fraction, seed) +</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>withReplacement</code></td> +<td> +<p>Sampling with replacement or not</p> +</td></tr> +<tr valign="top"><td><code>fraction</code></td> +<td> +<p>The (rough) sample target fraction</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D collect(sample(df, FALSE, 0.5)) +##D collect(sample(df, TRUE, 0.5)) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/saveAsParquetFile.html b/site/docs/1.5.0/api/R/saveAsParquetFile.html new file mode 100644 index 000000000..3549511ba --- /dev/null +++ b/site/docs/1.5.0/api/R/saveAsParquetFile.html @@ -0,0 +1,59 @@ +<!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: saveAsParquetFile</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 saveAsParquetFile {SparkR}"><tr><td>saveAsParquetFile {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>saveAsParquetFile</h2> + +<h3>Description</h3> + +<p>Save the contents of a DataFrame as a Parquet file, preserving the schema. Files written out +with this method can be read back in as a DataFrame using parquetFile(). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +saveAsParquetFile(x, path) + +saveAsParquetFile(x, path) +</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>path</code></td> +<td> +<p>The directory where the file is saved</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D saveAsParquetFile(df, "/tmp/sparkr-tmp/") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/saveAsTable.html b/site/docs/1.5.0/api/R/saveAsTable.html new file mode 100644 index 000000000..652f4abc1 --- /dev/null +++ b/site/docs/1.5.0/api/R/saveAsTable.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: saveAsTable</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 saveAsTable {SparkR}"><tr><td>saveAsTable {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>saveAsTable</h2> + +<h3>Description</h3> + +<p>Save the contents of the DataFrame to a data source as a table +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character,character,character' +saveAsTable(df, tableName, + source = NULL, mode = "append", ...) + +saveAsTable(df, tableName, source, mode, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>df</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>tableName</code></td> +<td> +<p>A name for the table</p> +</td></tr> +<tr valign="top"><td><code>source</code></td> +<td> +<p>A name for external data source</p> +</td></tr> +<tr valign="top"><td><code>mode</code></td> +<td> +<p>One of 'append', 'overwrite', 'error', 'ignore'</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> +<p>Additionally, mode is used to specify the behavior of the save operation when +data already exists in the data source. There are four modes: +append: Contents of this DataFrame are expected to be appended to existing data. +overwrite: Existing data is expected to be overwritten by the contents of +error: An exception is expected to be thrown. +ignore: The save operation is expected to not save the contents of the 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 <- jsonFile(sqlContext, path) +##D saveAsTable(df, "myfile") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/schema.html b/site/docs/1.5.0/api/R/schema.html new file mode 100644 index 000000000..6b0b3a95d --- /dev/null +++ b/site/docs/1.5.0/api/R/schema.html @@ -0,0 +1,60 @@ +<!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: Get schema object</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 schema {SparkR}"><tr><td>schema {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Get schema object</h2> + +<h3>Description</h3> + +<p>Returns the schema of this DataFrame as a structType object. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +schema(x) + +columns(x) + +dtypes(x) + +printSchema(x) + +schema(x) +</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>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 <- jsonFile(sqlContext, path) +##D dfSchema <- schema(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/second.html b/site/docs/1.5.0/api/R/second.html new file mode 100644 index 000000000..6af26c139 --- /dev/null +++ b/site/docs/1.5.0/api/R/second.html @@ -0,0 +1,69 @@ +<!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: second</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 second {SparkR}"><tr><td>second {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>second</h2> + +<h3>Description</h3> + +<p>Extracts the seconds as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +second(x) + +second(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: second(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/select.html b/site/docs/1.5.0/api/R/select.html new file mode 100644 index 000000000..1e8b606fa --- /dev/null +++ b/site/docs/1.5.0/api/R/select.html @@ -0,0 +1,90 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Select</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 $ {SparkR}"><tr><td>$ {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Select</h2> + +<h3>Description</h3> + +<p>Selects a set of columns with names or Column expressions. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +x$name + +## S4 replacement method for signature 'DataFrame' +x$name <- value + +## S4 method for signature 'DataFrame,character' +select(x, col, ...) + +## S4 method for signature 'DataFrame,Column' +select(x, col, ...) + +## S4 method for signature 'DataFrame,list' +select(x, col) + +select(x, col, ...) + +selectExpr(x, expr, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>A list of columns or single Column or name</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A new DataFrame with selected columns +</p> + + +<h3>See Also</h3> + +<p>Other subsetting functions: <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">[[</a></code>, +<code><a href="subset.html">subset</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> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D select(df, "*") +##D select(df, "col1", "col2") +##D select(df, df$name, df$age + 1) +##D select(df, c("col1", "col2")) +##D select(df, list(df$name, df$age + 1)) +##D # Similar to R data frames columns can also be selected using `$` +##D df$age +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/selectExpr.html b/site/docs/1.5.0/api/R/selectExpr.html new file mode 100644 index 000000000..147d4226b --- /dev/null +++ b/site/docs/1.5.0/api/R/selectExpr.html @@ -0,0 +1,66 @@ +<!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: SelectExpr</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 selectExpr {SparkR}"><tr><td>selectExpr {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>SelectExpr</h2> + +<h3>Description</h3> + +<p>Select from a DataFrame using a set of SQL expressions. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +selectExpr(x, expr, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame to be selected from.</p> +</td></tr> +<tr valign="top"><td><code>expr</code></td> +<td> +<p>A string containing a SQL expression</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Additional expressions</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A 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 <- jsonFile(sqlContext, path) +##D selectExpr(df, "col1", "(col2 * 5) as newCol") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/setJobGroup.html b/site/docs/1.5.0/api/R/setJobGroup.html new file mode 100644 index 000000000..9a8904674 --- /dev/null +++ b/site/docs/1.5.0/api/R/setJobGroup.html @@ -0,0 +1,62 @@ +<!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: Assigns a group ID to all the jobs started by this thread...</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 setJobGroup {SparkR}"><tr><td>setJobGroup {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Assigns a group ID to all the jobs started by this thread until the group ID is set to a +different value or cleared.</h2> + +<h3>Description</h3> + +<p>Assigns a group ID to all the jobs started by this thread until the group ID is set to a +different value or cleared. +</p> + + +<h3>Usage</h3> + +<pre> +setJobGroup(sc, groupId, description, interruptOnCancel) +</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>description</code></td> +<td> +<p>description for the the job group ID</p> +</td></tr> +<tr valign="top"><td><code>interruptOnCancel</code></td> +<td> +<p>flag to indicate if the job is interrupted on job cancellation</p> +</td></tr> +<tr valign="top"><td><code>groupid</code></td> +<td> +<p>the ID to be assigned to job groups</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D setJobGroup(sc, "myJobGroup", "My job group description", TRUE) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sha1.html b/site/docs/1.5.0/api/R/sha1.html new file mode 100644 index 000000000..68d5f766a --- /dev/null +++ b/site/docs/1.5.0/api/R/sha1.html @@ -0,0 +1,47 @@ +<!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: sha1</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 sha1 {SparkR}"><tr><td>sha1 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sha1</h2> + +<h3>Description</h3> + +<p>Calculates the SHA-1 digest of a binary column and returns the value +as a 40 character hex string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sha1(x) + +sha1(x) +</pre> + + +<h3>See Also</h3> + +<p>Other misc_funcs: <code><a href="crc32.html">crc32</a></code>, <code><a href="crc32.html">crc32</a></code>; +<code><a href="md5.html">md5</a></code>, <code><a href="md5.html">md5</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: sha1(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sha2.html b/site/docs/1.5.0/api/R/sha2.html new file mode 100644 index 000000000..65b6e9a0b --- /dev/null +++ b/site/docs/1.5.0/api/R/sha2.html @@ -0,0 +1,49 @@ +<!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: sha2</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 sha2 {SparkR}"><tr><td>sha2 {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sha2</h2> + +<h3>Description</h3> + +<p>Calculates the SHA-2 family of hash functions of a binary column and +returns the value as a hex string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +sha2(y, x) + +sha2(y, x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>y</code></td> +<td> +<p>column to compute SHA-2 on.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>one of 224, 256, 384, or 512.</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other misc_funcs: <code><a href="crc32.html">crc32</a></code>, <code><a href="crc32.html">crc32</a></code>; +<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> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/shiftLeft.html b/site/docs/1.5.0/api/R/shiftLeft.html new file mode 100644 index 000000000..8510e6e5d --- /dev/null +++ b/site/docs/1.5.0/api/R/shiftLeft.html @@ -0,0 +1,57 @@ +<!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: shiftLeft</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 shiftLeft {SparkR}"><tr><td>shiftLeft {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>shiftLeft</h2> + +<h3>Description</h3> + +<p>Shift the the given value numBits left. If the given value is a long value, this function +will return a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftLeft(y, x) + +shiftLeft(y, 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">ceil</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="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">signum</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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/shiftRight.html b/site/docs/1.5.0/api/R/shiftRight.html new file mode 100644 index 000000000..1fff235de --- /dev/null +++ b/site/docs/1.5.0/api/R/shiftRight.html @@ -0,0 +1,58 @@ +<!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: shiftRight</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 shiftRight {SparkR}"><tr><td>shiftRight {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>shiftRight</h2> + +<h3>Description</h3> + +<p>Shift the the given value numBits right. If the given value is a long value, it will return +a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftRight(y, x) + +shiftRight(y, 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">ceil</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="signum.html">signum</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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/shiftRightUnsigned.html b/site/docs/1.5.0/api/R/shiftRightUnsigned.html new file mode 100644 index 000000000..8e9ac3ee5 --- /dev/null +++ b/site/docs/1.5.0/api/R/shiftRightUnsigned.html @@ -0,0 +1,57 @@ +<!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: shiftRightUnsigned</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 shiftRightUnsigned {SparkR}"><tr><td>shiftRightUnsigned {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>shiftRightUnsigned</h2> + +<h3>Description</h3> + +<p>Unsigned shift the the given value numBits right. If the given value is a long value, +it will return a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftRightUnsigned(y, x) + +shiftRightUnsigned(y, 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">ceil</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="shiftRight.html">shiftRight</a></code>, +<code><a href="shiftRight.html">shiftRight</a></code>; <code><a href="signum.html">signum</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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/show.html b/site/docs/1.5.0/api/R/show.html new file mode 100644 index 000000000..541e9d85d --- /dev/null +++ b/site/docs/1.5.0/api/R/show.html @@ -0,0 +1,58 @@ +<!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: show</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 show {SparkR}"><tr><td>show {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>show</h2> + +<h3>Description</h3> + +<p>Print the DataFrame column names and types +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +show(object) + +## S4 method for signature 'Column' +show(object) + +## S4 method for signature 'GroupedData' +show(object) +</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>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 <- jsonFile(sqlContext, path) +##D df +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/showDF.html b/site/docs/1.5.0/api/R/showDF.html new file mode 100644 index 000000000..18fdb8d43 --- /dev/null +++ b/site/docs/1.5.0/api/R/showDF.html @@ -0,0 +1,58 @@ +<!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: showDF</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 showDF {SparkR}"><tr><td>showDF {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>showDF</h2> + +<h3>Description</h3> + +<p>Print the first numRows rows of a DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +showDF(x, numRows = 20, truncate = TRUE) + +showDF(x, ...) +</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>numRows</code></td> +<td> +<p>The number of rows to print. Defaults to 20.</p> +</td></tr> +</table> + + +<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 <- jsonFile(sqlContext, path) +##D showDF(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/signum.html b/site/docs/1.5.0/api/R/signum.html new file mode 100644 index 000000000..ffba26061 --- /dev/null +++ b/site/docs/1.5.0/api/R/signum.html @@ -0,0 +1,101 @@ +<!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: signum</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 signum {SparkR}"><tr><td>signum {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>signum</h2> + +<h3>Description</h3> + +<p>Computes the signum of the given value. +</p> +<p>Computes the signum of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +signum(x) + +## S4 method for signature 'Column' +sign(x) + +signum(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">ceil</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="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> +<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">ceil</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="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: signum(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sin.html b/site/docs/1.5.0/api/R/sin.html new file mode 100644 index 000000000..b508c3d77 --- /dev/null +++ b/site/docs/1.5.0/api/R/sin.html @@ -0,0 +1,68 @@ +<!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: sin</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 sin {SparkR}"><tr><td>sin {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sin</h2> + +<h3>Description</h3> + +<p>Computes the sine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sin(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">ceil</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">signum</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="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: sin(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sinh.html b/site/docs/1.5.0/api/R/sinh.html new file mode 100644 index 000000000..c484a0d04 --- /dev/null +++ b/site/docs/1.5.0/api/R/sinh.html @@ -0,0 +1,68 @@ +<!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: sinh</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 sinh {SparkR}"><tr><td>sinh {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sinh</h2> + +<h3>Description</h3> + +<p>Computes the hyperbolic sine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sinh(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">ceil</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">signum</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.html">signum</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: sinh(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/size.html b/site/docs/1.5.0/api/R/size.html new file mode 100644 index 000000000..ea3442b59 --- /dev/null +++ b/site/docs/1.5.0/api/R/size.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: size</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 size {SparkR}"><tr><td>size {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>size</h2> + +<h3>Description</h3> + +<p>Returns length of array or map. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +size(x) + +size(x) +</pre> + + +<h3>See Also</h3> + +<p>Other collection_funcs: <code><a href="explode.html">explode</a></code>, +<code><a href="explode.html">explode</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: size(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/soundex.html b/site/docs/1.5.0/api/R/soundex.html new file mode 100644 index 000000000..2b94da6f5 --- /dev/null +++ b/site/docs/1.5.0/api/R/soundex.html @@ -0,0 +1,69 @@ +<!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: soundex</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 soundex {SparkR}"><tr><td>soundex {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>soundex</h2> + +<h3>Description</h3> + +<p>Return the soundex code for the specified expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +soundex(x) + +soundex(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: soundex(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sparkR.init.html b/site/docs/1.5.0/api/R/sparkR.init.html new file mode 100644 index 000000000..ccfdb9371 --- /dev/null +++ b/site/docs/1.5.0/api/R/sparkR.init.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: Initialize a new Spark Context.</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 sparkR.init {SparkR}"><tr><td>sparkR.init {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Initialize a new Spark Context.</h2> + +<h3>Description</h3> + +<p>This function initializes a new SparkContext. +</p> + + +<h3>Usage</h3> + +<pre> +sparkR.init(master = "", appName = "SparkR", + sparkHome = Sys.getenv("SPARK_HOME"), sparkEnvir = list(), + sparkExecutorEnv = list(), sparkJars = "", sparkPackages = "") +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>master</code></td> +<td> +<p>The Spark master URL.</p> +</td></tr> +<tr valign="top"><td><code>appName</code></td> +<td> +<p>Application name to register with cluster manager</p> +</td></tr> +<tr valign="top"><td><code>sparkHome</code></td> +<td> +<p>Spark Home directory</p> +</td></tr> +<tr valign="top"><td><code>sparkEnvir</code></td> +<td> +<p>Named list of environment variables to set on worker nodes.</p> +</td></tr> +<tr valign="top"><td><code>sparkExecutorEnv</code></td> +<td> +<p>Named list of environment variables to be used when launching executors.</p> +</td></tr> +<tr valign="top"><td><code>sparkJars</code></td> +<td> +<p>Character string vector of jar files to pass to the worker nodes.</p> +</td></tr> +<tr valign="top"><td><code>sparkPackages</code></td> +<td> +<p>Character string vector of packages from spark-packages.org</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init("local[2]", "SparkR", "/home/spark") +##D sc <- sparkR.init("local[2]", "SparkR", "/home/spark", +##D list(spark.executor.memory="1g")) +##D sc <- sparkR.init("yarn-client", "SparkR", "/home/spark", +##D list(spark.executor.memory="1g"), +##D list(LD_LIBRARY_PATH="/directory of JVM libraries (libjvm.so) on workers/"), +##D c("jarfile1.jar","jarfile2.jar")) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sparkR.stop.html b/site/docs/1.5.0/api/R/sparkR.stop.html new file mode 100644 index 000000000..76f89c2b1 --- /dev/null +++ b/site/docs/1.5.0/api/R/sparkR.stop.html @@ -0,0 +1,23 @@ +<!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: Stop the Spark context.</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 sparkR.stop {SparkR}"><tr><td>sparkR.stop {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Stop the Spark context.</h2> + +<h3>Description</h3> + +<p>Also terminates the backend this R session is connected to +</p> + + +<h3>Usage</h3> + +<pre> +sparkR.stop() +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sparkRHive.init.html b/site/docs/1.5.0/api/R/sparkRHive.init.html new file mode 100644 index 000000000..ee15ae75a --- /dev/null +++ b/site/docs/1.5.0/api/R/sparkRHive.init.html @@ -0,0 +1,48 @@ +<!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: Initialize a new HiveContext.</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 sparkRHive.init {SparkR}"><tr><td>sparkRHive.init {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Initialize a new HiveContext.</h2> + +<h3>Description</h3> + +<p>This function creates a HiveContext from an existing JavaSparkContext +</p> + + +<h3>Usage</h3> + +<pre> +sparkRHive.init(jsc = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>jsc</code></td> +<td> +<p>The existing JavaSparkContext created with SparkR.init()</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRHive.init(sc) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sparkRSQL.init.html b/site/docs/1.5.0/api/R/sparkRSQL.init.html new file mode 100644 index 000000000..d4e089045 --- /dev/null +++ b/site/docs/1.5.0/api/R/sparkRSQL.init.html @@ -0,0 +1,49 @@ +<!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: Initialize a new SQLContext.</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 sparkRSQL.init {SparkR}"><tr><td>sparkRSQL.init {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Initialize a new SQLContext.</h2> + +<h3>Description</h3> + +<p>This function creates a SparkContext from an existing JavaSparkContext and +then uses it to initialize a new SQLContext +</p> + + +<h3>Usage</h3> + +<pre> +sparkRSQL.init(jsc = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>jsc</code></td> +<td> +<p>The existing JavaSparkContext created with SparkR.init()</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sql.html b/site/docs/1.5.0/api/R/sql.html new file mode 100644 index 000000000..8f1eb1478 --- /dev/null +++ b/site/docs/1.5.0/api/R/sql.html @@ -0,0 +1,62 @@ +<!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: SQL Query</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 sql {SparkR}"><tr><td>sql {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>SQL Query</h2> + +<h3>Description</h3> + +<p>Executes a SQL query using Spark, returning the result as a DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +sql(sqlContext, sqlQuery) +</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>sqlQuery</code></td> +<td> +<p>A character vector containing the SQL query</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 <- jsonFile(sqlContext, path) +##D registerTempTable(df, "table") +##D new_df <- sql(sqlContext, "SELECT * FROM table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sqrt.html b/site/docs/1.5.0/api/R/sqrt.html new file mode 100644 index 000000000..b5fd2d29f --- /dev/null +++ b/site/docs/1.5.0/api/R/sqrt.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: sqrt</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 sqrt {SparkR}"><tr><td>sqrt {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sqrt</h2> + +<h3>Description</h3> + +<p>Computes the square root of the specified float value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sqrt(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">ceil</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">signum</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="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: sqrt(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/statfunctions.html b/site/docs/1.5.0/api/R/statfunctions.html new file mode 100644 index 000000000..9d7e5e8fd --- /dev/null +++ b/site/docs/1.5.0/api/R/statfunctions.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: crosstab</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for crosstab {SparkR}"><tr><td>crosstab {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>crosstab</h2> + +<h3>Description</h3> + +<p>Computes a pair-wise frequency table of the given columns. Also known as a contingency +table. The number of distinct values for each column should be less than 1e4. At most 1e6 +non-zero pair frequencies will be returned. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character,character' +crosstab(x, col1, col2) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>col1</code></td> +<td> +<p>name of the first column. Distinct items will make the first item of each row.</p> +</td></tr> +<tr valign="top"><td><code>col2</code></td> +<td> +<p>name of the second column. Distinct items will make the column names of the output.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a local R data.frame representing the contingency table. The first column of each row +will be the distinct values of 'col1' and the column names will be the distinct values +of 'col2'. The name of the first column will be '$col1_$col2'. Pairs that have no +occurrences will have zero as their counts. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D df <- jsonFile(sqlCtx, "/path/to/file.json") +##D ct = crosstab(df, "title", "gender") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/structField.html b/site/docs/1.5.0/api/R/structField.html new file mode 100644 index 000000000..bdf7c29c2 --- /dev/null +++ b/site/docs/1.5.0/api/R/structField.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: structField</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 structField {SparkR}"><tr><td>structField {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>structField</h2> + +<h3>Description</h3> + +<p>Create a structField object that contains the metadata for a single field in a schema. +</p> + + +<h3>Usage</h3> + +<pre> +structField(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>The name of the field</p> +</td></tr> +<tr valign="top"><td><code>type</code></td> +<td> +<p>The data type of the field</p> +</td></tr> +<tr valign="top"><td><code>nullable</code></td> +<td> +<p>A logical vector indicating whether or not the field is nullable</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a structField object +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D rdd <- lapply(parallelize(sc, 1:10), function(x) { list(x, as.character(x)) }) +##D field1 <- structField("a", "integer", TRUE) +##D field2 <- structField("b", "string", TRUE) +##D schema <- structType(field1, field2) +##D df <- createDataFrame(sqlCtx, rdd, schema) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/structType.html b/site/docs/1.5.0/api/R/structType.html new file mode 100644 index 000000000..bba4421e1 --- /dev/null +++ b/site/docs/1.5.0/api/R/structType.html @@ -0,0 +1,62 @@ +<!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: structType</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 structType {SparkR}"><tr><td>structType {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>structType</h2> + +<h3>Description</h3> + +<p>Create a structType object that contains the metadata for a DataFrame. Intended for +use with createDataFrame and toDF. +</p> + + +<h3>Usage</h3> + +<pre> +structType(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a structField object (created with the field() function)</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>additional structField objects</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a structType object +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D rdd <- lapply(parallelize(sc, 1:10), function(x) { list(x, as.character(x)) }) +##D schema <- structType(structField("a", "integer"), structField("b", "string")) +##D df <- createDataFrame(sqlCtx, rdd, schema) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/subset.html b/site/docs/1.5.0/api/R/subset.html new file mode 100644 index 000000000..5d7c48aae --- /dev/null +++ b/site/docs/1.5.0/api/R/subset.html @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Subset</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 [[ {SparkR}"><tr><td>[[ {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Subset</h2> + +<h3>Description</h3> + +<p>Return subsets of DataFrame according to given conditions +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numericOrcharacter' +x[[i]] + +## S4 method for signature 'DataFrame,missing' +x[i, j, ..., drop = TRUE] + +## S4 method for signature 'DataFrame,Column' +x[i, j, ..., drop = TRUE] + +## S4 method for signature 'DataFrame' +subset(x, subset, select, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>subset</code></td> +<td> +<p>A logical expression to filter on rows</p> +</td></tr> +<tr valign="top"><td><code>select</code></td> +<td> +<p>expression for the single Column or a list of columns to select from the DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A new DataFrame containing only the rows that meet the condition with selected columns +</p> + + +<h3>See Also</h3> + +<p>Other subsetting 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="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> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D # Columns can be selected using `[[` and `[` +##D df[[2]] == df[["age"]] +##D df[,2] == df[,"age"] +##D df[,c("name", "age")] +##D # Or to filter rows +##D df[df$age > 20,] +##D # DataFrame can be subset on both rows and Columns +##D df[df$name == "Smith", c(1,2)] +##D df[df$age %in% c(19, 30), 1:2] +##D subset(df, df$age %in% c(19, 30), 1:2) +##D subset(df, df$age %in% c(19), select = c(1,2)) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/substr.html b/site/docs/1.5.0/api/R/substr.html new file mode 100644 index 000000000..4424ca692 --- /dev/null +++ b/site/docs/1.5.0/api/R/substr.html @@ -0,0 +1,46 @@ +<!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: substr</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 substr {SparkR}"><tr><td>substr {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>substr</h2> + +<h3>Description</h3> + +<p>An expression that returns a substring. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +substr(x, start, stop) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>start</code></td> +<td> +<p>starting position</p> +</td></tr> +<tr valign="top"><td><code>stop</code></td> +<td> +<p>ending position</p> +</td></tr> +</table> + + +<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="column.html">cast</a></code>; +<code><a href="otherwise.html">otherwise</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/substring_index.html b/site/docs/1.5.0/api/R/substring_index.html new file mode 100644 index 000000000..cd3709d32 --- /dev/null +++ b/site/docs/1.5.0/api/R/substring_index.html @@ -0,0 +1,60 @@ +<!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: substring_index</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 substring_index {SparkR}"><tr><td>substring_index {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>substring_index</h2> + +<h3>Description</h3> + +<p>Returns the substring from string str before count occurrences of the delimiter delim. +If count is positive, everything the left of the final delimiter (counting from left) is +returned. If count is negative, every to the right of the final delimiter (counting from the +right) is returned. substring <- index performs a case-sensitive match when searching for delim. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character,numeric' +substring_index(x, delim, count) + +substring_index(x, delim, count) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sum.html b/site/docs/1.5.0/api/R/sum.html new file mode 100644 index 000000000..55821a824 --- /dev/null +++ b/site/docs/1.5.0/api/R/sum.html @@ -0,0 +1,53 @@ +<!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: sum</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 sum {SparkR}"><tr><td>sum {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sum</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the sum of all values in the expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sum(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: sum(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/sumDistinct.html b/site/docs/1.5.0/api/R/sumDistinct.html new file mode 100644 index 000000000..78f1e1de3 --- /dev/null +++ b/site/docs/1.5.0/api/R/sumDistinct.html @@ -0,0 +1,54 @@ +<!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: sumDistinct</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 sumDistinct {SparkR}"><tr><td>sumDistinct {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>sumDistinct</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the sum of distinct values in the expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sumDistinct(x) + +sumDistinct(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <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">countDistinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="nrow.html">nrow</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</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="sum.html">sum</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: sumDistinct(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/summary.html b/site/docs/1.5.0/api/R/summary.html new file mode 100644 index 000000000..91dbdc50e --- /dev/null +++ b/site/docs/1.5.0/api/R/summary.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: 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 summary {SparkR}"><tr><td>summary {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Summary</h2> + +<h3>Description</h3> + +<p>Computes statistics for numeric columns of the DataFrame +</p> +<p>Returns the summary of a model produced by glm(), similarly to R's summary(). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +summary(x) + +summary(x, ...) + +## S4 method for signature 'PipelineModel' +summary(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A fitted MLlib model</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a list with a 'coefficient' component, which is the matrix of coefficients. See +summary.glm for more information. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D model <- glm(y ~ x, trainingData) +##D summary(model) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/table.html b/site/docs/1.5.0/api/R/table.html new file mode 100644 index 000000000..ac73bbea0 --- /dev/null +++ b/site/docs/1.5.0/api/R/table.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create a DataFrame 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 table {SparkR}"><tr><td>table {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Create a DataFrame from a SparkSQL Table</h2> + +<h3>Description</h3> + +<p>Returns the specified Table as a DataFrame. The Table must have already been registered +in the SQLContext. +</p> + + +<h3>Usage</h3> + +<pre> +table(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 SparkSQL Table to convert to a DataFrame.</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 <- jsonFile(sqlContext, path) +##D registerTempTable(df, "table") +##D new_df <- table(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/tableNames.html b/site/docs/1.5.0/api/R/tableNames.html new file mode 100644 index 000000000..7cd10f8dc --- /dev/null +++ b/site/docs/1.5.0/api/R/tableNames.html @@ -0,0 +1,59 @@ +<!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> +tableNames(sqlContext, databaseName = 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>databaseName</code></td> +<td> +<p>name of the database</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a list of table names +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D tableNames(sqlContext, "hive") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/tables.html b/site/docs/1.5.0/api/R/tables.html new file mode 100644 index 000000000..ebcb61fb6 --- /dev/null +++ b/site/docs/1.5.0/api/R/tables.html @@ -0,0 +1,59 @@ +<!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 DataFrame containing names of tables in the given database. +</p> + + +<h3>Usage</h3> + +<pre> +tables(sqlContext, databaseName = 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>databaseName</code></td> +<td> +<p>name of the database</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D tables(sqlContext, "hive") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/take.html b/site/docs/1.5.0/api/R/take.html new file mode 100644 index 000000000..bae524835 --- /dev/null +++ b/site/docs/1.5.0/api/R/take.html @@ -0,0 +1,42 @@ +<!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 DataFrame and return a 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 DataFrame and return a the results as a data.frame</h2> + +<h3>Description</h3> + +<p>Take the first NUM rows of a DataFrame and return a the results as a data.frame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numeric' +take(x, num) +</pre> + + +<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 <- jsonFile(sqlContext, path) +##D take(df, 2) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/tan.html b/site/docs/1.5.0/api/R/tan.html new file mode 100644 index 000000000..26820762b --- /dev/null +++ b/site/docs/1.5.0/api/R/tan.html @@ -0,0 +1,68 @@ +<!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>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">ceil</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">signum</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="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: tan(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/tanh.html b/site/docs/1.5.0/api/R/tanh.html new file mode 100644 index 000000000..2899f4535 --- /dev/null +++ b/site/docs/1.5.0/api/R/tanh.html @@ -0,0 +1,67 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: 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>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">ceil</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">signum</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="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: tanh(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/toDegrees.html b/site/docs/1.5.0/api/R/toDegrees.html new file mode 100644 index 000000000..56fdc41c1 --- /dev/null +++ b/site/docs/1.5.0/api/R/toDegrees.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +toDegrees(x) + +toDegrees(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">ceil</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">signum</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="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: toDegrees(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/toRadians.html b/site/docs/1.5.0/api/R/toRadians.html new file mode 100644 index 000000000..eb7261380 --- /dev/null +++ b/site/docs/1.5.0/api/R/toRadians.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +toRadians(x) + +toRadians(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">ceil</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">signum</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="unhex.html">unhex</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/to_date.html b/site/docs/1.5.0/api/R/to_date.html new file mode 100644 index 000000000..36ac206f2 --- /dev/null +++ b/site/docs/1.5.0/api/R/to_date.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +to_date(x) + +to_date(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/to_utc_timestamp.html b/site/docs/1.5.0/api/R/to_utc_timestamp.html new file mode 100644 index 000000000..1179a3d2c --- /dev/null +++ b/site/docs/1.5.0/api/R/to_utc_timestamp.html @@ -0,0 +1,56 @@ +<!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" /> +</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>Assumes given timestamp is in given timezone and converts to UTC. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character' +to_utc_timestamp(y, x) + +to_utc_timestamp(y, x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/translate.html b/site/docs/1.5.0/api/R/translate.html new file mode 100644 index 000000000..3e34ceba1 --- /dev/null +++ b/site/docs/1.5.0/api/R/translate.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: translate</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 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> +## S4 method for signature 'Column,character,character' +translate(x, matchingString, + replaceString) + +translate(x, matchingString, replaceString) +</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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/trim.html b/site/docs/1.5.0/api/R/trim.html new file mode 100644 index 000000000..bad13545d --- /dev/null +++ b/site/docs/1.5.0/api/R/trim.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +trim(x) + +trim(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="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: trim(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unbase64.html b/site/docs/1.5.0/api/R/unbase64.html new file mode 100644 index 000000000..3f40b9759 --- /dev/null +++ b/site/docs/1.5.0/api/R/unbase64.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: 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> +## S4 method for signature 'Column' +unbase64(x) + +unbase64(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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="upper.html">upper</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/uncacheTable.html b/site/docs/1.5.0/api/R/uncacheTable.html new file mode 100644 index 000000000..d4856a52d --- /dev/null +++ b/site/docs/1.5.0/api/R/uncacheTable.html @@ -0,0 +1,62 @@ +<!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> +uncacheTable(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 uncached</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 <- jsonFile(sqlContext, path) +##D registerTempTable(df, "table") +##D uncacheTable(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unhex.html b/site/docs/1.5.0/api/R/unhex.html new file mode 100644 index 000000000..e5f9f5001 --- /dev/null +++ b/site/docs/1.5.0/api/R/unhex.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: 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> +## S4 method for signature 'Column' +unhex(x) + +unhex(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">ceil</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">signum</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> +</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unionAll.html b/site/docs/1.5.0/api/R/unionAll.html new file mode 100644 index 000000000..afe66c0ad --- /dev/null +++ b/site/docs/1.5.0/api/R/unionAll.html @@ -0,0 +1,66 @@ +<!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: UnionAll</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 unionAll {SparkR}"><tr><td>unionAll {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>UnionAll</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame containing the union of rows in this DataFrame +and another DataFrame. This is equivalent to 'UNION ALL' in SQL. +Note that this does not remove duplicate rows across the two DataFrames. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,DataFrame' +unionAll(x, y) + +unionAll(x, y) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +<tr valign="top"><td><code>y</code></td> +<td> +<p>A Spark DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame containing the result of the union. +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D df1 <- jsonFile(sqlContext, path) +##D df2 <- jsonFile(sqlContext, path2) +##D unioned <- unionAll(df, df2) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unique.html b/site/docs/1.5.0/api/R/unique.html new file mode 100644 index 000000000..002314ccb --- /dev/null +++ b/site/docs/1.5.0/api/R/unique.html @@ -0,0 +1,24 @@ +<!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: Distinct rows in a DataFrame</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 unique {SparkR}"><tr><td>unique {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Distinct rows in a DataFrame</h2> + +<h3>Description</h3> + +<p>Returns a new DataFrame containing distinct rows in this DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +unique(x) +</pre> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unix_timestamp.html b/site/docs/1.5.0/api/R/unix_timestamp.html new file mode 100644 index 000000000..3aaec17f0 --- /dev/null +++ b/site/docs/1.5.0/api/R/unix_timestamp.html @@ -0,0 +1,108 @@ +<!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" /> +</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> +## 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") + +unix_timestamp(x, format) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/unpersist-methods.html b/site/docs/1.5.0/api/R/unpersist-methods.html new file mode 100644 index 000000000..582a26f1f --- /dev/null +++ b/site/docs/1.5.0/api/R/unpersist-methods.html @@ -0,0 +1,58 @@ +<!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 DataFrame as non-persistent, and remove all blocks for it from memory and +disk. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +unpersist(x, blocking = TRUE) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>The DataFrame to unpersist</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>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 <- jsonFile(sqlContext, path) +##D persist(df, "MEMORY_AND_DISK") +##D unpersist(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/upper.html b/site/docs/1.5.0/api/R/upper.html new file mode 100644 index 000000000..e97757145 --- /dev/null +++ b/site/docs/1.5.0/api/R/upper.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +upper(x) + +upper(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="concat.html">concat</a></code>, +<code><a href="concat.html">concat</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> +</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/weekofyear.html b/site/docs/1.5.0/api/R/weekofyear.html new file mode 100644 index 000000000..687860e08 --- /dev/null +++ b/site/docs/1.5.0/api/R/weekofyear.html @@ -0,0 +1,69 @@ +<!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> +## S4 method for signature 'Column' +weekofyear(x) + +weekofyear(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="year.html">year</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 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/when.html b/site/docs/1.5.0/api/R/when.html new file mode 100644 index 000000000..bd08ec194 --- /dev/null +++ b/site/docs/1.5.0/api/R/when.html @@ -0,0 +1,43 @@ +<!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" /> +</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> +## S4 method for signature 'Column' +when(condition, value) +</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="isNaN.html">isNaN</a></code>, +<code><a href="isNaN.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> +</p> + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/withColumn.html b/site/docs/1.5.0/api/R/withColumn.html new file mode 100644 index 000000000..06ae63bdd --- /dev/null +++ b/site/docs/1.5.0/api/R/withColumn.html @@ -0,0 +1,99 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: WithColumn</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 withColumn {SparkR}"><tr><td>withColumn {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>WithColumn</h2> + +<h3>Description</h3> + +<p>Return a new DataFrame with the specified column added. +</p> +<p>Return a new DataFrame with the specified columns added. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character,Column' +withColumn(x, colName, col) + +## S4 method for signature 'DataFrame' +mutate(.data, ...) + +## S4 method for signature 'DataFrame' +transform(`_data`, ...) + +mutate(.data, ...) + +transform(`_data`, ...) + +withColumn(x, colName, col) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>colName</code></td> +<td> +<p>A string containing the name of the new column.</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>A Column expression.</p> +</td></tr> +<tr valign="top"><td><code>.data</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>a named argument of the form name = col</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame with the new column added. +</p> +<p>A new DataFrame with the new columns added. +</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 <- jsonFile(sqlContext, path) +##D newDF <- withColumn(df, "newCol", df$col1 * 5) +## End(Not run) +## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- jsonFile(sqlContext, path) +##D newDF <- mutate(df, newCol = df$col1 * 5, newCol2 = df$col1 * 2) +##D names(newDF) # Will contain newCol, newCol2 +##D newDF2 <- transform(df, newCol = df$col1 / 5, newCol2 = df$col1 * 2) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/withColumnRenamed.html b/site/docs/1.5.0/api/R/withColumnRenamed.html new file mode 100644 index 000000000..1b319b525 --- /dev/null +++ b/site/docs/1.5.0/api/R/withColumnRenamed.html @@ -0,0 +1,93 @@ +<!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: WithColumnRenamed</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 withColumnRenamed {SparkR}"><tr><td>withColumnRenamed {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>WithColumnRenamed</h2> + +<h3>Description</h3> + +<p>Rename an existing column in a DataFrame. +</p> +<p>Rename an existing column in a DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character,character' +withColumnRenamed(x, existingCol, + newCol) + +## S4 method for signature 'DataFrame' +rename(x, ...) + +rename(x, ...) + +withColumnRenamed(x, existingCol, newCol) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>existingCol</code></td> +<td> +<p>The name of the column you want to change.</p> +</td></tr> +<tr valign="top"><td><code>newCol</code></td> +<td> +<p>The new column name.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>newCol</code></td> +<td> +<p>A named pair of the form new_column_name = existing_column</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame with the column name changed. +</p> +<p>A DataFrame with the column name changed. +</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 <- jsonFile(sqlContext, path) +##D newDF <- withColumnRenamed(df, "col1", "newCol1") +## End(Not run) +## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- jsonFile(sqlContext, path) +##D newDF <- rename(df, col1 = df$newCol1) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/write.df.html b/site/docs/1.5.0/api/R/write.df.html new file mode 100644 index 000000000..fc0e6a9ab --- /dev/null +++ b/site/docs/1.5.0/api/R/write.df.html @@ -0,0 +1,86 @@ +<!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: Save the contents of the DataFrame to a data source</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 write.df {SparkR}"><tr><td>write.df {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>Save the contents of the DataFrame to a data source</h2> + +<h3>Description</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>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +write.df(df, path, source = NULL, + mode = "append", ...) + +## S4 method for signature 'DataFrame,character' +saveDF(df, path, source = NULL, + mode = "append", ...) + +write.df(df, path, ...) + +saveDF(df, path, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>df</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>path</code></td> +<td> +<p>A name for the table</p> +</td></tr> +<tr valign="top"><td><code>source</code></td> +<td> +<p>A name for external data source</p> +</td></tr> +<tr valign="top"><td><code>mode</code></td> +<td> +<p>One of 'append', 'overwrite', 'error', 'ignore'</p> +</td></tr> +</table> + + +<h3>Details</h3> + +<p>Additionally, mode is used to specify the behavior of the save operation when +data already exists in the data source. There are four modes: +append: Contents of this DataFrame are expected to be appended to existing data. +overwrite: Existing data is expected to be overwritten by the contents of +error: An exception is expected to be thrown. +ignore: The save operation is expected to not save the contents of the 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 <- jsonFile(sqlContext, path) +##D write.df(df, "myfile", "parquet", "overwrite") +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> diff --git a/site/docs/1.5.0/api/R/year.html b/site/docs/1.5.0/api/R/year.html new file mode 100644 index 000000000..ea4d4ff75 --- /dev/null +++ b/site/docs/1.5.0/api/R/year.html @@ -0,0 +1,69 @@ +<!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: year</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 year {SparkR}"><tr><td>year {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>year</h2> + +<h3>Description</h3> + +<p>Extracts the year as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +year(x) + +year(x) +</pre> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>; <code><a href="date_add.html">date_add</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_format.html">date_format</a></code>; <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub</a></code>; <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff</a></code>; <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth</a></code>; <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear</a></code>; <code><a href="from_unixtime.html">from_unixtime</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="from_utc_timestamp.html">from_utc_timestamp</a></code>; <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>; <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute</a></code>; <code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>; <code><a href="month.html">month</a></code>, +<code><a href="month.html">month</a></code>; <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day</a></code>; <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter</a></code>; <code><a href="second.html">second</a></code>, +<code><a href="second.html">second</a></code>; <code><a href="to_date.html">to_date</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="to_utc_timestamp.html">to_utc_timestamp</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>; <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: year(df$c) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.0 <a href="00Index.html">Index</a>]</div> +</body></html> |