aboutsummaryrefslogtreecommitdiff
path: root/docs/sparkr.md
diff options
context:
space:
mode:
authorfelixcheung <felixcheung_m@hotmail.com>2016-01-19 18:31:03 -0800
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-01-19 18:31:03 -0800
commit488bbb216c82306e82b8963a331d48d484e8eadd (patch)
treeb8124d51a1806e68b8038b20481221b7fe1765ec /docs/sparkr.md
parentbeda9014220be77dd735e6af1903e7d93dceb110 (diff)
downloadspark-488bbb216c82306e82b8963a331d48d484e8eadd.tar.gz
spark-488bbb216c82306e82b8963a331d48d484e8eadd.tar.bz2
spark-488bbb216c82306e82b8963a331d48d484e8eadd.zip
[SPARK-12232][SPARKR] New R API for read.table to avoid name conflict
shivaram sorry it took longer to fix some conflicts, this is the change to add an alias for `table` Author: felixcheung <felixcheung_m@hotmail.com> Closes #10406 from felixcheung/readtable.
Diffstat (limited to 'docs/sparkr.md')
-rw-r--r--docs/sparkr.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/sparkr.md b/docs/sparkr.md
index ea81532c61..73e38b8c70 100644
--- a/docs/sparkr.md
+++ b/docs/sparkr.md
@@ -375,13 +375,6 @@ The following functions are masked by the SparkR package:
<td><code>sample</code> in <code>package:base</code></td>
<td><code>base::sample(x, size, replace = FALSE, prob = NULL)</code></td>
</tr>
- <tr>
- <td><code>table</code> in <code>package:base</code></td>
- <td><code><pre>base::table(...,
- exclude = if (useNA == "no") c(NA, NaN),
- useNA = c("no", "ifany", "always"),
- dnn = list.names(...), deparse.level = 1)</pre></code></td>
- </tr>
</table>
Since part of SparkR is modeled on the `dplyr` package, certain functions in SparkR share the same names with those in `dplyr`. Depending on the load order of the two packages, some functions from the package loaded first are masked by those in the package loaded after. In such case, prefix such calls with the package name, for instance, `SparkR::cume_dist(x)` or `dplyr::cume_dist(x)`.
@@ -394,3 +387,7 @@ You can inspect the search path in R with [`search()`](https://stat.ethz.ch/R-ma
## Upgrading From SparkR 1.5.x to 1.6
- Before Spark 1.6, the default mode for writes was `append`. It was changed in Spark 1.6.0 to `error` to match the Scala API.
+
+## Upgrading From SparkR 1.6.x to 2.0
+
+ - The method `table` has been removed and replaced by `tableToDF`.